Home
last modified time | relevance | path

Searched refs:pNewBitmap (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp108 std::unique_ptr<CFX_GlyphBitmap> pNewBitmap = in LoadGlyph() local
110 CFX_GlyphBitmap* pGlyphBitmap = pNewBitmap.get(); in LoadGlyph()
111 pSizeCache->m_GlyphMap[charcode] = std::move(pNewBitmap); in LoadGlyph()
/external/pdfium/core/fxge/dib/
Dcfx_dibsource.cpp619 auto pNewBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in Clone() local
620 if (!pNewBitmap->Create(rect.Width(), rect.Height(), GetFormat())) in Clone()
623 pNewBitmap->SetPalette(m_pPalette.get()); in Clone()
624 pNewBitmap->SetAlphaMask(m_pAlphaMask, pClip); in Clone()
628 int dword_count = pNewBitmap->m_Pitch / 4; in Clone()
631 uint32_t* dest_scan = (uint32_t*)pNewBitmap->GetScanline(row - rect.top); in Clone()
638 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
644 uint8_t* dest_scan = (uint8_t*)pNewBitmap->GetScanline(row - rect.top); in Clone()
648 return pNewBitmap; in Clone()