Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_bitmapcomposer.cpp28 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 …]
Dcfx_bitmapstorer.cpp18 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()
Dcfx_dibextractor.cpp13 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()
Dcfx_dibextractor.h20 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap()
23 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_bitmapstorer.h33 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap()
38 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_bitmapcomposer.h59 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp51 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()
Dcpdf_devicebuffer.h32 RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; } in GetBitmap()
39 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
Dcpdf_imageloader.cpp59 m_pBitmap = entry->DetachBitmap(); in HandleFailure()
66 m_pBitmap = pImage->DetachBitmap(); in HandleFailure()
Dcpdf_imageloader.h34 RetainPtr<CFX_DIBSource> m_pBitmap; variable
Dcpdf_imagerenderer.cpp73 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()
Dcpdf_type3cache.cpp172 pGlyph->m_pBitmap->TakeOver(std::move(pResBitmap)); in RenderGlyph()
Dcpdf_renderstatus.cpp1887 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/
Dfx_agg_driver.cpp1111 : 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 …]
Dfx_agg_driver.h112 RetainPtr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp40 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()
Dcpdf_type3char.h47 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1500 : 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 …]
Dfx_skia_device.h162 RetainPtr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp90 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/
Dfx_font.h78 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
82 : m_pBitmap(pdfium::MakeRetain<CFX_DIBitmap>()) {} in CFX_GlyphBitmap()
Dfx_ge_text.cpp61 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()
Dcfx_facecache.cpp163 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()
Dcfx_renderdevice.cpp370 : 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()
Dcfx_renderdevice.h295 RetainPtr<CFX_DIBitmap> m_pBitmap; variable