/external/pdfium/core/fxge/dib/ |
D | cfx_bitmapcomposer.cpp | 28 m_pBitmap = pDest; in Compose() 52 if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, width, pSrcPalette, in SetInfo() 59 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo() 60 m_pClipScanV.resize(m_pBitmap->GetHeight()); in SetInfo() 61 if (m_pBitmap->m_pAlphaMask) in SetInfo() 65 m_pAddClipScan.resize(m_bVertical ? m_pBitmap->GetHeight() in SetInfo() 66 : m_pBitmap->GetWidth()); in SetInfo() 116 const_cast<uint8_t*>(m_pBitmap->GetScanline(line + m_DestTop)) + in ComposeScanline() 117 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline() 119 m_pBitmap->m_pAlphaMask in ComposeScanline() [all …]
|
D | cfx_bitmapstorer.cpp | 18 return std::move(m_pBitmap); in Detach() 22 m_pBitmap = std::move(pBitmap); in Replace() 28 uint8_t* dest_buf = const_cast<uint8_t*>(m_pBitmap->GetScanline(line)); in ComposeScanline() 30 m_pBitmap->m_pAlphaMask in ComposeScanline() 31 ? const_cast<uint8_t*>(m_pBitmap->m_pAlphaMask->GetScanline(line)) in ComposeScanline() 34 memcpy(dest_buf, scanline, m_pBitmap->GetPitch()); in ComposeScanline() 38 m_pBitmap->m_pAlphaMask->GetPitch()); in ComposeScanline() 53 m_pBitmap = std::move(pBitmap); in SetInfo()
|
D | cfx_dibextractor.cpp | 13 m_pBitmap = pSrc->Clone(nullptr); in CFX_DIBExtractor() 17 m_pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in CFX_DIBExtractor() 18 if (!m_pBitmap->Create(pOldSrc->GetWidth(), pOldSrc->GetHeight(), in CFX_DIBExtractor() 20 m_pBitmap.Reset(); in CFX_DIBExtractor() 23 m_pBitmap->SetPalette(pOldSrc->GetPalette()); in CFX_DIBExtractor() 24 m_pBitmap->SetAlphaMask(pOldSrc->m_pAlphaMask, nullptr); in CFX_DIBExtractor()
|
D | cfx_dibextractor.h | 20 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap() 23 RetainPtr<CFX_DIBitmap> m_pBitmap;
|
D | cfx_bitmapstorer.h | 33 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap() 38 RetainPtr<CFX_DIBitmap> m_pBitmap;
|
D | cfx_bitmapcomposer.h | 59 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_devicebuffer.cpp | 51 m_pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in Initialize() 52 m_pBitmap->Create(bitmap_rect.Width(), bitmap_rect.Height(), FXDIB_Argb); in Initialize() 59 m_pDevice->SetDIBits(m_pBitmap, m_Rect.left, m_Rect.top); in OutputToDevice() 61 m_pDevice->StretchDIBits(m_pBitmap, m_Rect.left, m_Rect.top, in OutputToDevice() 67 m_pDevice->CreateCompatibleBitmap(pBuffer, m_pBitmap->GetWidth(), in OutputToDevice() 68 m_pBitmap->GetHeight()); in OutputToDevice() 71 m_pBitmap, 0, 0); in OutputToDevice()
|
D | cpdf_devicebuffer.h | 32 RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; } in GetBitmap() 39 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
|
D | cpdf_imageloader.cpp | 59 m_pBitmap = entry->DetachBitmap(); in HandleFailure() 66 m_pBitmap = pImage->DetachBitmap(); in HandleFailure()
|
D | cpdf_imageloader.h | 34 RetainPtr<CFX_DIBSource> m_pBitmap; variable
|
D | cpdf_imagerenderer.cpp | 73 if (!m_Loader.m_pBitmap) in StartRenderDIBSource() 78 m_pDIBSource = m_Loader.m_pBitmap; in StartRenderDIBSource() 89 m_pDIBSource = m_Loader.m_pBitmap = in StartRenderDIBSource() 90 state.GetTransferFunc()->TranslateImage(m_Loader.m_pBitmap); in StartRenderDIBSource()
|
D | cpdf_type3cache.cpp | 172 pGlyph->m_pBitmap->TakeOver(std::move(pResBitmap)); in RenderGlyph()
|
D | cpdf_renderstatus.cpp | 1887 m_pDevice->SetBitMask(glyph.m_pGlyph->m_pBitmap, in ProcessType3Text() 1952 m_pDevice->SetBitMask(pBitmap->m_pBitmap, origin.x + pBitmap->m_Left, in ProcessType3Text() 2001 glyph.m_pGlyph->m_pBitmap->GetWidth(), in ProcessType3Text() 2002 glyph.m_pGlyph->m_pBitmap->GetHeight(), in ProcessType3Text() 2003 glyph.m_pGlyph->m_pBitmap, fill_argb, 0, 0, in ProcessType3Text()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 1111 : m_pBitmap(pBitmap), in CFX_AggDeviceDriver() 1127 return m_pBitmap->GetBuffer(); in GetBuffer() 1150 return m_pBitmap->GetWidth(); in GetDeviceCaps() 1152 return m_pBitmap->GetHeight(); in GetDeviceCaps() 1154 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1161 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps() 1163 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps() 1164 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps() 1169 if (m_pBitmap->IsCmykImage()) in GetDeviceCaps() 1288 if (!render.Init(m_pBitmap, pt, m_pClipRgn.get(), color, bFullCover, in RenderRasterizer() [all …]
|
D | fx_agg_driver.h | 112 RetainPtr<CFX_DIBitmap> m_pBitmap;
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_type3char.cpp | 40 if (m_pBitmap || !m_pForm) in LoadBitmap() 64 m_pBitmap = pSource->Clone(nullptr); in LoadBitmap() 99 return m_pBitmap; in GetBitmap() 103 return m_pBitmap; in GetBitmap()
|
D | cpdf_type3char.h | 47 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 1500 : m_pBitmap(pBitmap), in CFX_SkiaDeviceDriver() 1522 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver() 1532 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver() 1552 m_pBitmap->PreMultiply(); in PreMultiply() 1614 m_pBitmap->PreMultiply(); in DrawDeviceText() 1695 return m_pBitmap->GetWidth(); in GetDeviceCaps() 1697 return m_pBitmap->GetHeight(); in GetDeviceCaps() 1699 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1706 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps() 1708 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps() [all …]
|
D | fx_skia_device.h | 162 RetainPtr<CFX_DIBitmap> m_pBitmap;
|
/external/pdfium/core/fxge/apple/ |
D | fx_apple_platform.cpp | 90 m_pPlatformGraphics = quartz2d.createGraphics(m_pBitmap); in InitPlatform() 146 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
|
/external/pdfium/core/fxge/ |
D | fx_font.h | 78 RetainPtr<CFX_DIBitmap> m_pBitmap; variable 82 : m_pBitmap(pdfium::MakeRetain<CFX_DIBitmap>()) {} in CFX_GlyphBitmap()
|
D | fx_ge_text.cpp | 61 FX_SAFE_INT32 char_width = pGlyph->m_pBitmap->GetWidth(); in FXGE_GetGlyphsBBox() 77 FX_SAFE_INT32 char_height = pGlyph->m_pBitmap->GetHeight(); in FXGE_GetGlyphsBBox()
|
D | cfx_facecache.cpp | 163 pGlyphBitmap->m_pBitmap->Create( in RenderGlyph() 168 int dest_pitch = pGlyphBitmap->m_pBitmap->GetPitch(); in RenderGlyph() 170 uint8_t* pDestBuf = pGlyphBitmap->m_pBitmap->GetBuffer(); in RenderGlyph()
|
D | cfx_renderdevice.cpp | 370 : m_pBitmap(nullptr), in CFX_RenderDevice() 433 return m_pBitmap; in GetBitmap() 437 m_pBitmap = pBitmap; in SetBitmap() 1000 RetainPtr<CFX_DIBitmap> pGlyph = glyph.m_pGlyph->m_pBitmap; in DrawNormalText() 1049 RetainPtr<CFX_DIBitmap> pGlyph = glyph.m_pGlyph->m_pBitmap; in DrawNormalText()
|
D | cfx_renderdevice.h | 295 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
|