Lines Matching refs:pBitmap
503 RetainPtr<CFX_DIBitmap> pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDF_RenderPage() local
506 pBitmap->Create(size_x, size_y, FXDIB_Argb); in FPDF_RenderPage()
507 pBitmap->Clear(0x00ffffff); in FPDF_RenderPage()
510 pDevice->Attach(pBitmap, false, nullptr, false); in FPDF_RenderPage()
526 memset(pDst->GetBuffer(), -1, pBitmap->GetPitch() * size_y); in FPDF_RenderPage()
527 pDst->CompositeBitmap(0, 0, size_x, size_y, pBitmap, 0, 0, in FPDF_RenderPage()
534 WinDC.SetDIBits(pBitmap, 0, 0); in FPDF_RenderPage()
545 pBitmap, mask_boxes[i], &bitmap_areas[i]); in FPDF_RenderPage()
598 RetainPtr<CFX_DIBitmap> pBitmap(CFXDIBitmapFromFPDFBitmap(bitmap)); in FPDF_RenderPageBitmap() local
599 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false); in FPDF_RenderPageBitmap()
606 pBitmap->UnPreMultiply(); in FPDF_RenderPageBitmap()
632 RetainPtr<CFX_DIBitmap> pBitmap(CFXDIBitmapFromFPDFBitmap(bitmap)); in FPDF_RenderPageBitmapWithMatrix() local
633 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false); in FPDF_RenderPageBitmapWithMatrix()
759 auto pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDFBitmap_Create() local
760 if (!pBitmap->Create(width, height, alpha ? FXDIB_Argb : FXDIB_Rgb32)) in FPDFBitmap_Create()
763 return FPDFBitmapFromCFXDIBitmap(pBitmap.Leak()); in FPDFBitmap_Create()
791 auto pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDFBitmap_CreateEx() local
792 if (!pBitmap->Create(width, height, fx_format, pChecker.Get(), stride)) in FPDFBitmap_CreateEx()
795 return FPDFBitmapFromCFXDIBitmap(pBitmap.Leak()); in FPDFBitmap_CreateEx()
828 RetainPtr<CFX_DIBitmap> pBitmap(CFXDIBitmapFromFPDFBitmap(bitmap)); in FPDFBitmap_FillRect() local
829 device.Attach(pBitmap, false, nullptr, false); in FPDFBitmap_FillRect()
830 if (!pBitmap->HasAlpha()) in FPDFBitmap_FillRect()