/external/pdfium/core/src/fxge/win32/ |
fx_win32_dib.cpp | 15 CFX_ByteString CFX_WindowsDIB::GetBitmapInfo(const CFX_DIBitmap* pBitmap) { 18 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) { 19 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); 24 pbmih->biBitCount = pBitmap->GetBPP(); 26 pbmih->biHeight = -(int)pBitmap->GetHeight(); 28 pbmih->biWidth = pBitmap->GetWidth(); 29 if (pBitmap->GetBPP() == 8) { 31 if (pBitmap->GetPalette()) { 33 pPalette[i] = pBitmap->GetPalette()[i] [all...] |
win32_int.h | 21 const CFX_DIBitmap* pBitmap, 30 const CFX_DIBitmap* pBitmap, 83 FX_BOOL GdipCreateBitmap(CFX_DIBitmap* pBitmap, void** bitmap); 155 FX_BOOL GDI_SetDIBits(const CFX_DIBitmap* pBitmap, 160 FX_BOOL GDI_StretchDIBits(const CFX_DIBitmap* pBitmap, 167 FX_BOOL GDI_StretchBitMask(const CFX_DIBitmap* pBitmap, 188 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, 193 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, 201 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, 212 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, [all...] |
fx_win32_device.cpp | 530 CFX_DIBitmap* pBitmap = pBitmap1->FlipImage(FALSE, TRUE); 531 if (!pBitmap) { 534 if ((pBitmap->IsCmykImage() || pIccTransform) && 535 !pBitmap->ConvertFormat(FXDIB_Rgb, pIccTransform)) { 539 LPBYTE pBuffer = pBitmap->GetBuffer(); 540 CFX_ByteString info = CFX_WindowsDIB::GetBitmapInfo(pBitmap); 543 dst_rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); 549 delete pBitmap; 551 CFX_DIBitmap* pBitmap = (CFX_DIBitmap*)pBitmap1 [all...] |
fx_win32_gdipext.cpp | 518 const CFX_DIBitmap* pBitmap, 525 ASSERT(pBitmap->GetBPP() == 1); 528 int src_width = pBitmap->GetWidth(), src_height = pBitmap->GetHeight(); 529 int src_pitch = pBitmap->GetPitch(); 530 uint8_t* scan0 = pBitmap->GetBuffer(); 565 _StretchMonoToGray(dest_width, dest_height, pBitmap, &image_clip); 568 pBitmap->StretchTo(dest_width, dest_height, FALSE, &image_clip); 603 const CFX_DIBitmap* pBitmap, 612 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) [all...] |
fx_win32_print.cpp | 58 CFX_DIBitmap* pBitmap = temp; 59 if (!pBitmap) { 62 return GDI_SetDIBits(pBitmap, pSrcRect, left, top, pIccTransform); 101 CFX_DIBitmap* pBitmap = temp; 102 if (!pBitmap) { 105 return GDI_StretchBitMask(pBitmap, dest_left, dest_top, dest_width, 131 CFX_DIBitmap* pBitmap = temp; 132 if (!pBitmap) { 135 return GDI_StretchDIBits(pBitmap, dest_left, dest_top, dest_width, 411 FX_BOOL CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_image.cpp | 91 const CFX_DIBitmap* pBitmap, 96 const CFX_DIBitmap* pBitmap, 101 void CPDF_Image::SetImage(const CFX_DIBitmap* pBitmap, 107 int32_t BitmapWidth = pBitmap->GetWidth(); 108 int32_t BitmapHeight = pBitmap->GetHeight(); 112 uint8_t* src_buf = pBitmap->GetBuffer(); 113 int32_t src_pitch = pBitmap->GetPitch(); 114 int32_t bpp = pBitmap->GetBPP(); 116 pParam && pParam->pMatteColor && (pBitmap->GetFormat() == FXDIB_Argb); 127 if (!pBitmap->IsAlphaMask()) [all...] |
/external/pdfium/core/include/fxge/ |
fx_ge_apple.h | 16 FX_BOOL Attach(CFX_DIBitmap* pBitmap);
|
fx_ge.h | 275 void SetBitmap(CFX_DIBitmap* pBitmap) { m_pBitmap = pBitmap; } 325 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, 332 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, 338 FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, 347 FX_BOOL SetBitMask(const CFX_DIBSource* pBitmap, 354 FX_BOOL StretchBitMask(const CFX_DIBSource* pBitmap, 364 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, 435 FX_BOOL Attach(CFX_DIBitmap* pBitmap, 455 FX_BOOL Attach(CFX_DIBitmap* pBitmap, [all...] |
fx_ge_win32.h | 27 static CFX_ByteString GetBitmapInfo(const CFX_DIBitmap* pBitmap); 31 static HBITMAP GetDDBitmap(const CFX_DIBitmap* pBitmap, HDC hDC);
|
/external/pdfium/xfa/src/fxbarcode/ |
BC_BufferedImageLuminanceSource.h | 14 explicit CBC_BufferedImageLuminanceSource(CFX_DIBitmap* pBitmap);
|
/external/pdfium/core/src/fxge/skia/ |
fx_skia_device.h | 11 CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, 76 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, 84 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, 92 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, 103 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap,
|
/external/pdfium/core/src/fxge/apple/ |
fx_quartz_device.cpp | 21 void* CQuartz2D::createGraphics(CFX_DIBitmap* pBitmap) { 22 if (!pBitmap) { 26 switch (pBitmap->GetFormat()) { 36 pBitmap->GetBuffer(), pBitmap->GetWidth(), pBitmap->GetHeight(), 8, 37 pBitmap->GetPitch(), colorSpace, bmpInfo); 121 static CGContextRef createContextWithBitmap(CFX_DIBitmap* pBitmap) { 122 if (!pBitmap || pBitmap->IsCmykImage() || pBitmap->GetBPP() < 32) [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_cache.cpp | 78 CFX_DIBSource*& pBitmap, 97 pBitmap, pMask, MatteColor, m_pPage->m_pPageResources, bStdCS, 149 const CFX_DIBitmap* pBitmap) { 153 if (!pBitmap) 161 pEntry->Reset(pBitmap); 180 void CPDF_ImageCacheEntry::Reset(const CFX_DIBitmap* pBitmap) { 183 if (pBitmap) { 184 m_pCachedBitmap = pBitmap->Clone(); 203 FX_BOOL CPDF_ImageCacheEntry::GetCachedBitmap(CFX_DIBSource*& pBitmap, 214 pBitmap = m_pCachedBitmap [all...] |
fpdf_render_pattern.cpp | 15 static void DrawAxialShading(CFX_DIBitmap* pBitmap, 22 ASSERT(pBitmap->GetFormat() == FXDIB_Argb); 43 int width = pBitmap->GetWidth(); 44 int height = pBitmap->GetHeight(); 81 int pitch = pBitmap->GetPitch(); 83 FX_DWORD* dib_buf = (FX_DWORD*)(pBitmap->GetBuffer() + row * pitch); 106 static void DrawRadialShading(CFX_DIBitmap* pBitmap, 113 ASSERT(pBitmap->GetFormat() == FXDIB_Argb); 171 int width = pBitmap->GetWidth(); 172 int height = pBitmap->GetHeight() [all...] |
fpdf_render_text.cpp | 96 static int _DetectFirstLastScan(const CFX_DIBitmap* pBitmap, FX_BOOL bFirst) { 97 int height = pBitmap->GetHeight(), pitch = pBitmap->GetPitch(), 98 width = pBitmap->GetWidth(); 99 int bpp = pBitmap->GetBPP(); 103 uint8_t* pBuf = pBitmap->GetBuffer(); 130 CFX_DIBitmap* pBitmap = pChar->m_pBitmap; 140 top_line = _DetectFirstLastScan(pBitmap, TRUE); 141 bottom_line = _DetectFirstLastScan(pBitmap, FALSE); 142 if (top_line == 0 && bottom_line == pBitmap->GetHeight() - 1) [all...] |
/external/pdfium/xfa/include/fwl/adapter/ |
fwl_adaptercursormgr.h | 31 virtual FWL_HCURSOR GetCustomCursor(const CFX_DIBitmap* pBitmap,
|
/external/pdfium/xfa/include/fwl/lightwidget/ |
pushbutton.h | 21 FWL_ERR SetPicture(CFX_DIBitmap* pBitmap);
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCodeReader.h | 28 CFX_ByteString Decode(CFX_DIBitmap* pBitmap,
|
BC_QRCodeReader.cpp | 82 CFX_ByteString CBC_QRCodeReader::Decode(CFX_DIBitmap* pBitmap,
86 CBC_BufferedImageLuminanceSource source(pBitmap);
|
/external/pdfium/xfa/include/fxbarcode/ |
BC_BarCode.h | 63 virtual CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e) = 0;
94 virtual CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e) = 0;
117 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
135 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
155 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
172 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
189 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
206 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
223 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e);
238 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e); [all...] |
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
pushbutton.cpp | 41 FWL_ERR CFWL_PushButton::SetPicture(CFX_DIBitmap* pBitmap) {
42 m_buttonData.m_pBitmap = pBitmap;
|
/external/pdfium/core/src/fxge/agg/include/ |
fx_agg_driver.h | 29 CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, 79 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, 85 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, 93 FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, 104 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap,
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_device.cpp | 346 FX_BOOL CFX_RenderDevice::GetDIBits(CFX_DIBitmap* pBitmap, 353 return m_pDeviceDriver->GetDIBits(pBitmap, left, top, pIccTransform); 358 FX_BOOL CFX_RenderDevice::SetDIBits(const CFX_DIBSource* pBitmap, 363 ASSERT(!pBitmap->IsAlphaMask()); 368 FXSYS_round(left + pBitmap->GetWidth() / fScaleX), 369 FXSYS_round(top + pBitmap->GetHeight() / fScaleY)); 382 (pBitmap->HasAlpha() && !(m_RenderCaps & FXRC_ALPHA_IMAGE))) { 399 pBitmap, src_rect.left, src_rect.top, 407 return m_pDeviceDriver->SetDIBits(pBitmap, 0, &src_rect, dest_rect.left, 411 FX_BOOL CFX_RenderDevice::StretchDIBits(const CFX_DIBSource* pBitmap, [all...] |
/external/pdfium/xfa/src/fwl/src/basewidget/ |
fwl_pictureboximp.cpp | 61 CFX_DIBitmap* pBitmap =
64 if (pBitmap) {
65 rect.Set(0, 0, (FX_FLOAT)pBitmap->GetWidth(),
66 (FX_FLOAT)pBitmap->GetHeight());
|
/external/pdfium/core/src/fxge/agg/src/ |
fx_agg_driver.cpp | 187 CFX_DIBitmap* pBitmap, 191 return new CFX_AggDeviceDriver(pBitmap, 0, bRgbByteOrder, pOriDevice, 194 CFX_AggDeviceDriver::CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, 199 m_pBitmap = pBitmap; [all...] |