Home
last modified time | relevance | path

Searched refs:m_pBitmap (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp53 m_pBitmap = pdfium::MakeUnique<CFX_DIBitmap>(); in Initialize()
54 m_pBitmap->Create(bitmap_rect.Width(), bitmap_rect.Height(), FXDIB_Argb); in Initialize()
61 m_pDevice->SetDIBits(m_pBitmap.get(), m_Rect.left, m_Rect.top); in OutputToDevice()
63 m_pDevice->StretchDIBits(m_pBitmap.get(), m_Rect.left, m_Rect.top, in OutputToDevice()
69 m_pDevice->CreateCompatibleBitmap(&buffer, m_pBitmap->GetWidth(), in OutputToDevice()
70 m_pBitmap->GetHeight()); in OutputToDevice()
73 m_pBitmap.get(), 0, 0); in OutputToDevice()
Dcpdf_imageloader.cpp18 : m_pBitmap(nullptr), in CPDF_ImageLoader()
29 delete m_pBitmap; in ~CPDF_ImageLoader()
73 m_pBitmap = entry->DetachBitmap(); in HandleFailure()
80 m_pBitmap = pImage->DetachBitmap(); in HandleFailure()
Dcpdf_devicebuffer.h29 CFX_DIBitmap* GetBitmap() const { return m_pBitmap.get(); } in GetBitmap()
37 std::unique_ptr<CFX_DIBitmap> m_pBitmap; variable
Dcpdf_type3cache.cpp121 if (!pChar || !pChar->m_pBitmap) in RenderGlyph()
124 CFX_DIBitmap* pBitmap = pChar->m_pBitmap.get(); in RenderGlyph()
Dcpdf_imageloader.h34 CFX_DIBSource* m_pBitmap; variable
Dcpdf_imagerenderer.cpp77 if (!m_Loader.m_pBitmap) in StartRenderDIBSource()
82 m_pDIBSource = m_Loader.m_pBitmap; in StartRenderDIBSource()
95 m_pDIBSource = m_Loader.m_pBitmap = in StartRenderDIBSource()
97 m_Loader.m_pBitmap, !m_Loader.m_bCached); in StartRenderDIBSource()
Dcpdf_renderstatus.cpp1900 } else if (pType3Char->m_pBitmap) { in ProcessType3Text()
1920 if (renderer.Start(this, pType3Char->m_pBitmap.get(), fill_argb, 255, in ProcessType3Text()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp435 : m_pBitmap(pBitmap), in CFX_AggDeviceDriver()
451 return m_pBitmap->GetBuffer(); in GetBuffer()
474 return m_pBitmap->GetWidth(); in GetDeviceCaps()
476 return m_pBitmap->GetHeight(); in GetDeviceCaps()
478 return m_pBitmap->GetBPP(); in GetDeviceCaps()
485 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps()
487 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps()
488 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
494 if (m_pBitmap->IsCmykImage()) { in GetDeviceCaps()
1442 if (!render.Init(m_pBitmap, pt, m_pClipRgn.get(), color, bFullCover, in RenderRasterizer()
[all …]
Dfx_agg_driver.h112 CFX_DIBitmap* m_pBitmap;
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp21 if (m_pBitmap || !m_pForm) in LoadBitmap()
35 m_pBitmap = pSource->Clone(); in LoadBitmap()
Dcpdf_type3char.h28 std::unique_ptr<CFX_DIBitmap> m_pBitmap; variable
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1207 : m_pBitmap(pBitmap), in CFX_SkiaDeviceDriver()
1231 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver()
1241 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver()
1296 m_pBitmap->PreMultiply(); in DrawDeviceText()
1326 return m_pBitmap->GetWidth(); in GetDeviceCaps()
1328 return m_pBitmap->GetHeight(); in GetDeviceCaps()
1330 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1337 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps()
1339 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps()
1340 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
[all …]
Dfx_skia_device.h154 void PreMultiply() { m_pBitmap->PreMultiply(); } in PreMultiply()
163 CFX_DIBitmap* m_pBitmap; variable
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp88 m_pPlatformGraphics = quartz2d.createGraphics(m_pBitmap); in InitPlatform()
144 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp1419 m_pBitmap = pdfium::MakeUnique<CFX_DIBitmap>(); in CFX_DIBExtractor()
1420 if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), in CFX_DIBExtractor()
1422 m_pBitmap.reset(); in CFX_DIBExtractor()
1425 m_pBitmap->SetPalette(pSrc->GetPalette()); in CFX_DIBExtractor()
1426 m_pBitmap->SetAlphaMask(pSrc->m_pAlphaMask); in CFX_DIBExtractor()
1428 m_pBitmap = pSrc->Clone(); in CFX_DIBExtractor()
1611 return std::move(m_pBitmap); in Detach()
1615 m_pBitmap = std::move(pBitmap); in Replace()
1621 uint8_t* dest_buf = const_cast<uint8_t*>(m_pBitmap->GetScanline(line)); in ComposeScanline()
1623 m_pBitmap->m_pAlphaMask in ComposeScanline()
[all …]
Dfx_dib_composite.cpp4865 m_pBitmap = pDest; in Compose()
4890 if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, width, pSrcPalette, in SetInfo()
4897 m_pScanlineV = FX_Alloc(uint8_t, m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
4898 m_pClipScanV = FX_Alloc(uint8_t, m_pBitmap->GetHeight()); in SetInfo()
4899 if (m_pBitmap->m_pAlphaMask) { in SetInfo()
4905 uint8_t, m_bVertical ? m_pBitmap->GetHeight() : m_pBitmap->GetWidth()); in SetInfo()
4953 uint8_t* dest_scan = (uint8_t*)m_pBitmap->GetScanline(line + m_DestTop) + in ComposeScanline()
4954 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
4956 m_pBitmap->m_pAlphaMask in ComposeScanline()
4957 ? (uint8_t*)m_pBitmap->m_pAlphaMask->GetScanline(line + m_DestTop) + in ComposeScanline()
[all …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.h103 CFX_DIBitmap* GetBitmap() const { return m_pBitmap; } in GetBitmap()
104 void SetBitmap(CFX_DIBitmap* pBitmap) { m_pBitmap = pBitmap; } in SetBitmap()
246 CFX_DIBitmap* m_pBitmap; variable
Dfx_dib.h403 CFX_DIBitmap* GetBitmap() { return m_pBitmap.get(); } in GetBitmap()
406 std::unique_ptr<CFX_DIBitmap> m_pBitmap;
553 CFX_DIBitmap* m_pBitmap; variable
588 CFX_DIBitmap* GetBitmap() { return m_pBitmap.get(); } in GetBitmap()
593 std::unique_ptr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp365 : m_pBitmap(nullptr), in CFX_RenderDevice()