Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp110 std::unique_ptr<CFX_DIBitmap> pBackdrop( in CompositeDIBitmap() local
113 if (!pBackdrop) in CompositeDIBitmap()
117 pBackdrop->CompositeBitmap(left - back_left, top - back_top, in CompositeDIBitmap()
121 pBackdrop->CompositeMask(left - back_left, top - back_top, in CompositeDIBitmap()
127 pBackdrop1->Create(pBackdrop->GetWidth(), pBackdrop->GetHeight(), in CompositeDIBitmap()
130 pBackdrop1->CompositeBitmap(0, 0, pBackdrop->GetWidth(), in CompositeDIBitmap()
131 pBackdrop->GetHeight(), pBackdrop.get(), 0, 0); in CompositeDIBitmap()
132 pBackdrop = std::move(pBackdrop1); in CompositeDIBitmap()
133 m_pDevice->SetDIBits(pBackdrop.get(), back_left, back_top); in CompositeDIBitmap()
Dfpdf_render.cpp899 std::unique_ptr<CFX_DIBitmap> pBackdrop(new CFX_DIBitmap); in GetBackdrop() local
901 pBackdrop->Create(width, height, FXDIB_Argb); in GetBackdrop()
903 m_pDevice->CreateCompatibleBitmap(pBackdrop.get(), width, height); in GetBackdrop()
905 if (!pBackdrop->GetBuffer()) in GetBackdrop()
909 if (pBackdrop->HasAlpha()) in GetBackdrop()
915 m_pDevice->GetDIBits(pBackdrop.get(), left, top); in GetBackdrop()
916 return pBackdrop.release(); in GetBackdrop()
922 pBackdrop->Clear(pBackdrop->HasAlpha() ? 0 : 0xffffffff); in GetBackdrop()
924 device.Attach(pBackdrop.get()); in GetBackdrop()
926 return pBackdrop.release(); in GetBackdrop()