/external/pdfium/core/fxge/win32/ |
fx_win32_dib.cpp | 14 CFX_ByteString CFX_WindowsDIB::GetBitmapInfo(const CFX_DIBitmap* pBitmap) { 17 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) { 18 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); 23 pbmih->biBitCount = pBitmap->GetBPP(); 25 pbmih->biHeight = -(int)pBitmap->GetHeight(); 27 pbmih->biWidth = pBitmap->GetWidth(); 28 if (pBitmap->GetBPP() == 8) { 30 if (pBitmap->GetPalette()) { 32 pPalette[i] = pBitmap->GetPalette()[i] [all...] |
cfx_windowsdib.h | 31 static CFX_ByteString GetBitmapInfo(const CFX_DIBitmap* pBitmap); 33 static HBITMAP GetDDBitmap(const CFX_DIBitmap* pBitmap, HDC hDC);
|
win32_int.h | 37 const CFX_DIBitmap* pBitmap, 46 const CFX_DIBitmap* pBitmap, 99 bool GdipCreateBitmap(CFX_DIBitmap* pBitmap, void** bitmap); 161 bool GDI_SetDIBits(CFX_DIBitmap* pBitmap, 165 bool GDI_StretchDIBits(CFX_DIBitmap* pBitmap, 171 bool GDI_StretchBitMask(CFX_DIBitmap* pBitmap, 194 bool GetDIBits(CFX_DIBitmap* pBitmap, int left, int top) override; 195 bool SetDIBits(const CFX_DIBSource* pBitmap, 201 bool StretchDIBits(const CFX_DIBSource* pBitmap, 210 bool StartDIBits(const CFX_DIBSource* pBitmap, [all...] |
cfx_psrenderer.h | 54 bool SetDIBits(const CFX_DIBSource* pBitmap, 58 bool StretchDIBits(const CFX_DIBSource* pBitmap, 65 bool DrawDIBits(const CFX_DIBSource* pBitmap,
|
fx_win32_print.cpp | 90 CFX_DIBitmap* pBitmap = temp.GetBitmap(); 91 if (!pBitmap) 94 return GDI_SetDIBits(pBitmap, pSrcRect, left, top); 128 CFX_DIBitmap* pBitmap = temp.GetBitmap(); 129 if (!pBitmap) 131 return GDI_StretchBitMask(pBitmap, dest_left, dest_top, dest_width, 154 CFX_DIBitmap* pBitmap = temp.GetBitmap(); 155 if (!pBitmap) 157 return GDI_StretchDIBits(pBitmap, dest_left, dest_top, dest_width, 439 bool CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, [all...] |
fx_win32_device.cpp | 790 std::unique_ptr<CFX_DIBitmap> pBitmap = pBitmap1->FlipImage(false, true); 791 if (!pBitmap) 794 if (pBitmap->IsCmykImage() && !pBitmap->ConvertFormat(FXDIB_Rgb)) 798 LPBYTE pBuffer = pBitmap->GetBuffer(); 799 CFX_ByteString info = CFX_WindowsDIB::GetBitmapInfo(pBitmap.get()); 802 dst_rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); 809 CFX_MaybeOwned<CFX_DIBitmap> pBitmap(pBitmap1); 810 if (pBitmap->IsCmykImage()) [all...] |
fx_win32_gdipext.cpp | 521 const CFX_DIBitmap* pBitmap, 528 ASSERT(pBitmap->GetBPP() == 1); 531 int src_width = pBitmap->GetWidth(), src_height = pBitmap->GetHeight(); 532 int src_pitch = pBitmap->GetPitch(); 533 uint8_t* scan0 = pBitmap->GetBuffer(); 568 StretchMonoToGray(dest_width, dest_height, pBitmap, &image_clip); 571 pBitmap->StretchTo(dest_width, dest_height, false, &image_clip); 605 const CFX_DIBitmap* pBitmap, 614 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) [all...] |
fx_win32_dwrite.cpp | 106 CDwGdiTextRenderer(CFX_DIBitmap* pBitmap, 183 bool CDWriteExt::DwCreateRenderingTarget(CFX_DIBitmap* pBitmap, 185 if (pBitmap->GetFormat() > FXDIB_Argb) { 198 nullptr, pBitmap->GetWidth(), pBitmap->GetHeight(), &pBitmapRenderTarget); 213 new CDwGdiTextRenderer(pBitmap, pBitmapRenderTarget, pRenderingParams); 398 CFX_DIBitmap* pBitmap, 401 : pBitmap_(pBitmap),
|
/external/pdfium/core/fxge/ |
cfx_fxgedevice.h | 20 bool Attach(CFX_DIBitmap* pBitmap, 34 bool SetBitsWithMask(const CFX_DIBSource* pBitmap,
|
cfx_renderdevice.h | 104 void SetBitmap(CFX_DIBitmap* pBitmap) { m_pBitmap = pBitmap; } 143 bool GetDIBits(CFX_DIBitmap* pBitmap, int left, int top); 145 bool SetDIBits(const CFX_DIBSource* pBitmap, int left, int top) { 146 return SetDIBitsWithBlend(pBitmap, left, top, FXDIB_BLEND_NORMAL); 148 bool SetDIBitsWithBlend(const CFX_DIBSource* pBitmap, 152 bool StretchDIBits(const CFX_DIBSource* pBitmap, 157 return StretchDIBitsWithFlagsAndBlend(pBitmap, left, top, dest_width, 160 bool StretchDIBitsWithFlagsAndBlend(const CFX_DIBSource* pBitmap, 167 bool SetBitMask(const CFX_DIBSource* pBitmap, [all...] |
ifx_renderdevicedriver.h | 60 virtual bool GetDIBits(CFX_DIBitmap* pBitmap, int left, int top); 62 virtual bool SetDIBits(const CFX_DIBSource* pBitmap, 68 virtual bool StretchDIBits(const CFX_DIBSource* pBitmap, 77 virtual bool StartDIBits(const CFX_DIBSource* pBitmap, 100 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap,
|
ifx_renderdevicedriver.cpp | 51 bool IFX_RenderDeviceDriver::GetDIBits(CFX_DIBitmap* pBitmap, 94 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap,
|
/external/pdfium/core/fpdfapi/render/ |
cpdf_type3cache.cpp | 54 int DetectFirstLastScan(const CFX_DIBitmap* pBitmap, bool bFirst) { 55 int height = pBitmap->GetHeight(); 56 int pitch = pBitmap->GetPitch(); 57 int width = pBitmap->GetWidth(); 58 int bpp = pBitmap->GetBPP(); 61 uint8_t* pBuf = pBitmap->GetBuffer(); 124 CFX_DIBitmap* pBitmap = pChar->m_pBitmap.get(); 134 int top_line = DetectFirstLastScan(pBitmap, true); 135 int bottom_line = DetectFirstLastScan(pBitmap, false); 136 if (top_line == 0 && bottom_line == pBitmap->GetHeight() - 1) [all...] |
cpdf_imagecacheentry.cpp | 34 void CPDF_ImageCacheEntry::Reset(const CFX_DIBitmap* pBitmap) { 36 if (pBitmap) 37 m_pCachedBitmap = pBitmap->Clone();
|
cpdf_imagecacheentry.h | 27 void Reset(const CFX_DIBitmap* pBitmap);
|
cpdf_pagerendercache.h | 30 void ResetBitmap(CPDF_Stream* pStream, const CFX_DIBitmap* pBitmap);
|
cpdf_pagerendercache.cpp | 128 const CFX_DIBitmap* pBitmap) { 132 if (!pBitmap) 141 pEntry->Reset(pBitmap);
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_image.cpp | 160 void CPDF_Image::SetImage(const CFX_DIBitmap* pBitmap) { 161 int32_t BitmapWidth = pBitmap->GetWidth(); 162 int32_t BitmapHeight = pBitmap->GetHeight(); 173 const int32_t bpp = pBitmap->GetBPP(); 185 if (!pBitmap->IsAlphaMask()) { 186 ArgbDecode(pBitmap->GetPaletteArgb(0), reset_a, reset_r, reset_g, 188 ArgbDecode(pBitmap->GetPaletteArgb(1), set_a, set_r, set_g, set_b); 216 int32_t iPalette = pBitmap->GetPaletteSize(); 226 uint32_t argb = pBitmap->GetPaletteArgb(i); 252 if (pBitmap->HasAlpha() [all...] |
/external/pdfium/core/fxge/agg/ |
fx_agg_driver.h | 35 CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, 66 bool GetDIBits(CFX_DIBitmap* pBitmap, int left, int top) override; 68 bool SetDIBits(const CFX_DIBSource* pBitmap, 74 bool StretchDIBits(const CFX_DIBSource* pBitmap, 83 bool StartDIBits(const CFX_DIBSource* pBitmap,
|
fx_agg_driver.cpp | 40 void RgbByteOrderSetPixel(CFX_DIBitmap* pBitmap, int x, int y, uint32_t argb) { 41 if (x < 0 || x >= pBitmap->GetWidth() || y < 0 || y >= pBitmap->GetHeight()) 44 uint8_t* pos = (uint8_t*)pBitmap->GetBuffer() + y * pBitmap->GetPitch() + 45 x * pBitmap->GetBPP() / 8; 46 if (pBitmap->GetFormat() == FXDIB_Argb) { 57 void RgbByteOrderCompositeRect(CFX_DIBitmap* pBitmap, 68 rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()) [all...] |
/external/pdfium/core/fxge/apple/ |
fx_quartz_device.cpp | 28 void* CQuartz2D::createGraphics(CFX_DIBitmap* pBitmap) { 29 if (!pBitmap) 32 switch (pBitmap->GetFormat()) { 42 pBitmap->GetBuffer(), pBitmap->GetWidth(), pBitmap->GetHeight(), 8, 43 pBitmap->GetPitch(), colorSpace, bmpInfo);
|
/external/pdfium/core/fxge/skia/ |
fx_skia_device.h | 27 CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, 82 bool GetDIBits(CFX_DIBitmap* pBitmap, int left, int top) override; 86 bool SetDIBits(const CFX_DIBSource* pBitmap, 93 bool SetBitsWithMask(const CFX_DIBSource* pBitmap, 105 bool StretchDIBits(const CFX_DIBSource* pBitmap, 115 bool StartDIBits(const CFX_DIBSource* pBitmap, 127 bool DrawBitsWithMask(const CFX_DIBSource* pBitmap,
|
/external/pdfium/fpdfsdk/ |
fpdf_progressive.cpp | 51 CFX_DIBitmap* pBitmap = CFXBitmapFromFPDFBitmap(bitmap); 52 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false);
|
fpdfview.cpp | 703 std::unique_ptr<CFX_DIBitmap> pBitmap; 710 pBitmap = pdfium::MakeUnique<CFX_DIBitmap>(); 711 pBitmap->Create(size_x, size_y, FXDIB_Argb); 712 pBitmap->Clear(0x00ffffff); 715 pDevice->Attach(pBitmap.get(), false, nullptr, false); 727 int pitch = pBitmap->GetPitch(); 730 pDst->CompositeBitmap(0, 0, size_x, size_y, pBitmap.get(), 0, 0, 734 WinDC.SetDIBits(pBitmap.get(), 0, 0); 761 CFX_DIBitmap* pBitmap = CFXBitmapFromFPDFBitmap(bitmap); 762 pDevice->Attach(pBitmap, !!(flags & FPDF_REVERSE_BYTE_ORDER), nullptr, false) [all...] |
/external/pdfium/core/fxge/ge/ |
cfx_renderdevice.cpp | 701 bool CFX_RenderDevice::GetDIBits(CFX_DIBitmap* pBitmap, int left, int top) { 704 return m_pDeviceDriver->GetDIBits(pBitmap, left, top); 711 bool CFX_RenderDevice::SetDIBitsWithBlend(const CFX_DIBSource* pBitmap, 715 ASSERT(!pBitmap->IsAlphaMask()); 720 FXSYS_round(left + pBitmap->GetWidth() / fScaleX), 721 FXSYS_round(top + pBitmap->GetHeight() / fScaleY)); 733 (pBitmap->HasAlpha() && !(m_RenderCaps & FXRC_ALPHA_IMAGE))) { 749 pBitmap, src_rect.left, src_rect.top, 757 return m_pDeviceDriver->SetDIBits(pBitmap, 0, &src_rect, dest_rect.left, 762 const CFX_DIBSource* pBitmap, [all...] |