/external/pdfium/core/src/fxge/win32/ |
H A D | fx_win32_dib.cpp | 12 CFX_ByteString CFX_WindowsDIB::GetBitmapInfo(const CFX_DIBitmap* pBitmap) argument 16 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) { 17 len += sizeof (DWORD) * (int)(1 << pBitmap->GetBPP()); 22 pbmih->biBitCount = pBitmap->GetBPP(); 24 pbmih->biHeight = -(int)pBitmap->GetHeight(); 26 pbmih->biWidth = pBitmap->GetWidth(); 27 if (pBitmap->GetBPP() == 8) { 29 if (pBitmap->GetPalette() == NULL) { 35 pPalette[i] = pBitmap 62 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local 98 GetDDBitmap(const CFX_DIBitmap* pBitmap, HDC hDC) argument [all...] |
H A D | win32_int.h | 20 FX_BOOL StretchBitMask(HDC hDC, BOOL bMonoDevice, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, 22 FX_BOOL StretchDIBits(HDC hDC, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, 49 FX_BOOL GdipCreateBitmap(CFX_DIBitmap* pBitmap, void**bitmap); 117 FX_BOOL GDI_SetDIBits(const CFX_DIBitmap* pBitmap, const FX_RECT* pSrcRect, int left, int top, 119 FX_BOOL GDI_StretchDIBits(const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, 122 FX_BOOL GDI_StretchBitMask(const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, 136 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL, FX_BOOL bDEdge = FALSE); 137 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, int left, int top, int blend_type, 139 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, 142 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, in argument [all...] |
H A D | fx_win32_device.cpp | 471 CFX_DIBitmap* pBitmap = pBitmap1->FlipImage(FALSE, TRUE); local 472 if (pBitmap == NULL) { 475 if ((pBitmap->IsCmykImage() || pIccTransform) && 476 !pBitmap->ConvertFormat(FXDIB_Rgb, pIccTransform)) { 480 int pitch = pBitmap->GetPitch(); 481 LPBYTE pBuffer = pBitmap->GetBuffer(); 482 CFX_ByteString info = CFX_WindowsDIB::GetBitmapInfo(pBitmap); 485 dst_rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); 490 delete pBitmap; 492 CFX_DIBitmap* pBitmap = (CFX_DIBitmap*)pBitmap1; local 512 CFX_DIBitmap* pBitmap = (CFX_DIBitmap*)pBitmap1; local 546 CFX_DIBitmap* pBitmap = (CFX_DIBitmap*)pBitmap1; local 942 GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform, FX_BOOL bDEdge) argument 1015 CFX_DIBitmap* pBitmap = temp; local 1081 CFX_DIBitmap* pBitmap = temp; local 1091 CFX_DIBitmap* pBitmap = temp; local 1184 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local [all...] |
H A D | fx_win32_gdipext.cpp | 345 static void OutputImageMask(GpGraphics* pGraphics, BOOL bMonoDevice, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, argument 348 ASSERT(pBitmap->GetBPP() == 1); 350 int src_width = pBitmap->GetWidth(), src_height = pBitmap->GetHeight(); 351 int src_pitch = pBitmap->GetPitch(); 352 FX_LPBYTE scan0 = pBitmap->GetBuffer(); 383 pStretched = _StretchMonoToGray(dest_width, dest_height, pBitmap, &image_clip); 385 pStretched = pBitmap->StretchTo(dest_width, dest_height, FALSE, &image_clip); 417 static void OutputImage(GpGraphics* pGraphics, const CFX_DIBitmap* pBitmap, const FX_RECT* pSrcRect, argument 422 if (pBitmap 539 GdipCreateBitmap(CFX_DIBitmap* pBitmap, void**bitmap) argument 687 StretchBitMask(HDC hDC, BOOL bMonoDevice, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags) argument 704 StretchDIBits(HDC hDC, const CFX_DIBitmap* pBitmap, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, int flags) argument 1138 GpBitmap* pBitmap; member in struct:__anon13349 1144 GpBitmap* pBitmap; local [all...] |
H A D | fx_win32_print.cpp | 47 CFX_DIBitmap* pBitmap = temp; local 48 if (pBitmap == NULL) { 51 return GDI_SetDIBits(pBitmap, pSrcRect, left, top, pIccTransform); 78 CFX_DIBitmap* pBitmap = temp; local 79 if (pBitmap == NULL) { 82 return GDI_StretchBitMask(pBitmap, dest_left, dest_top, dest_width, dest_height, color, flags, alpha_flag, pIccTransform); 104 CFX_DIBitmap* pBitmap = temp; local 105 if (pBitmap == NULL) { 108 return GDI_StretchDIBits(pBitmap, dest_left, dest_top, dest_width, dest_height, flags, pIccTransform); 378 FX_BOOL CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWOR argument 386 StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags, int alpha_flag, void* pIccTransform, int blend_type) argument 395 StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD color, const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle, int alpha_flag, void* pIccTransform, int blend_type) argument [all...] |
H A D | fx_win32_dwrite.cpp | 89 CFX_DIBitmap* pBitmap, 177 FX_BOOL CDWriteExt::DwCreateRenderingTarget(CFX_DIBitmap* pBitmap, void** renderTarget) argument 179 if (pBitmap->GetFormat() > FXDIB_Argb) { 191 hr = pGdiInterop->CreateBitmapRenderTarget(NULL, pBitmap->GetWidth(), pBitmap->GetHeight(), 211 *(CDwGdiTextRenderer**)renderTarget = new CDwGdiTextRenderer(pBitmap, pBitmapRenderTarget, pRenderingParams); 398 CDwGdiTextRenderer::CDwGdiTextRenderer(CFX_DIBitmap* pBitmap, IDWriteBitmapRenderTarget* bitmapRenderTarget, IDWriteRenderingParams* renderingParams): argument 399 pBitmap_(pBitmap),
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_image.cpp | 88 void _DCTEncodeBitmap(CPDF_Dictionary *pBitmapDict, const CFX_DIBitmap* pBitmap, int quality, FX_LPBYTE &buf, FX_STRSIZE &size) argument 91 void _JBIG2EncodeBitmap(CPDF_Dictionary *pBitmapDict, const CFX_DIBitmap *pBitmap, CPDF_Document *pDoc, FX_LPBYTE &buf, FX_STRSIZE &size, FX_BOOL bLossLess) argument 94 void CPDF_Image::SetImage(const CFX_DIBitmap* pBitmap, FX_INT32 iCompress, IFX_FileWrite *pFileWrite, IFX_FileRead *pFileRead, const CFX_DIBitmap* pMask, const CPDF_ImageSetParam* pParam) argument 96 FX_INT32 BitmapWidth = pBitmap->GetWidth(); 97 FX_INT32 BitmapHeight = pBitmap->GetHeight(); 101 FX_LPBYTE src_buf = pBitmap->GetBuffer(); 102 FX_INT32 src_pitch = pBitmap->GetPitch(); 103 FX_INT32 bpp = pBitmap->GetBPP(); 104 FX_BOOL bUseMatte = pParam && pParam->pMatteColor && (pBitmap->GetFormat() == FXDIB_Argb); 115 if (!pBitmap 362 ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pBitmap) argument [all...] |
/external/pdfium/core/include/fxge/ |
H A D | fx_ge_apple.h | 17 FX_BOOL Attach(CFX_DIBitmap* pBitmap);
|
H A D | fx_ge.h | 365 void SetBitmap(CFX_DIBitmap* pBitmap) argument 367 m_pBitmap = pBitmap; 409 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL); 413 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, int left, int top, int blend_type = FXDIB_BLEND_NORMAL, 416 FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, 419 FX_BOOL SetBitMask(const CFX_DIBSource* pBitmap, int left, int top, FX_DWORD color, 422 FX_BOOL StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, 425 FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD color, 482 FX_BOOL Attach(CFX_DIBitmap* pBitmap, int dither_bits = 0, FX_BOOL bRgbByteOrder = FALSE, CFX_DIBitmap* pOriDevice = NULL, FX_BOOL bGroupKnockout = FALSE); 497 FX_BOOL Attach(CFX_DIBitmap* pBitmap, in 586 GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL, FX_BOOL bDEdge = FALSE) argument [all...] |
H A D | fx_ge_win32.h | 30 static CFX_ByteString GetBitmapInfo(const CFX_DIBitmap* pBitmap); 34 static HBITMAP GetDDBitmap(const CFX_DIBitmap* pBitmap, HDC hDC);
|
/external/pdfium/core/src/fxge/apple/ |
H A D | fx_quartz_device.cpp | 20 void* CQuartz2D::createGraphics(CFX_DIBitmap* pBitmap) argument 22 if (!pBitmap) { 26 switch (pBitmap->GetFormat()) { 35 CGContextRef context = CGBitmapContextCreate(pBitmap->GetBuffer(), 36 pBitmap->GetWidth(), 37 pBitmap->GetHeight(), 39 pBitmap->GetPitch(), 147 static CGContextRef createContextWithBitmap(CFX_DIBitmap* pBitmap) argument 149 if (!pBitmap || pBitmap 557 SetDIBits(const CFX_DIBSource* pBitmap, FX_ARGB argb, const FX_RECT* srcRect, int dest_left, int dest_top, int blendType, int alphaFlag , void* iccTransform ) argument 688 StretchDIBits(const CFX_DIBSource* pBitmap, FX_ARGB argb, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT* clipRect, FX_DWORD flags, int alphaFlag , void* iccTransform , int blend_type) argument 1104 Attach(CFX_DIBitmap* pBitmap) argument 1120 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local [all...] |
H A D | apple_int.h | 136 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL, FX_BOOL bDEdge = FALSE); 137 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, 140 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, 143 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD color, argument
|
/external/pdfium/core/src/fxge/agg/include/ |
H A D | fx_agg_driver.h | 24 CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout); 76 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL, FX_BOOL bDEdge = FALSE); 82 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, int left, int top, int blend_type, 84 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, 88 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD color,
|
/external/pdfium/core/src/fxge/skia/ |
H A D | fx_skia_device.h | 12 CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout); 58 virtual FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform = NULL, FX_BOOL bDEdge = FALSE); 62 virtual FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, 65 virtual FX_BOOL StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top, 69 virtual FX_BOOL StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD color,
|
H A D | fx_skia_device.cpp | 238 CFX_SkiaDeviceDriver::CFX_SkiaDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout) argument 240 m_pAggDriver = new CFX_AggDeviceDriver(pBitmap, dither_bits, bRgbByteOrder, pOriDevice, bGroupKnockout); 460 FX_BOOL CFX_SkiaDeviceDriver::GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform, FX_BOOL bDEdge) argument 462 return m_pAggDriver->GetDIBits(pBitmap, left, top, pIccTransform, bDEdge); 465 FX_BOOL CFX_SkiaDeviceDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD argb, const FX_RECT* pSrcRect, int left, int top, int blend_type, argument 468 return m_pAggDriver->SetDIBits(pBitmap, argb, pSrcRect, left, top, blend_type, alpha_flag, pIccTransform); 503 FX_BOOL CFX_SkiaDevice::Attach(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout) argument 505 if (pBitmap == NULL) 507 SetBitmap(pBitmap); 508 CFX_SkiaDeviceDriver* pDriver = new CFX_SkiaDeviceDriver(pBitmap, dither_bit 516 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_pattern.cpp | 13 static void _DrawAxialShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, argument 17 ASSERT(pBitmap->GetFormat() == FXDIB_Argb); 38 int width = pBitmap->GetWidth(); 39 int height = pBitmap->GetHeight(); 73 int pitch = pBitmap->GetPitch(); 75 FX_DWORD* dib_buf = (FX_DWORD*)(pBitmap->GetBuffer() + row * pitch); 96 static void _DrawRadialShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, argument 100 ASSERT(pBitmap->GetFormat() == FXDIB_Argb); 155 int width = pBitmap->GetWidth(); 156 int height = pBitmap 225 _DrawFuncShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Dictionary* pDict, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument 301 _DrawGouraud(CFX_DIBitmap* pBitmap, int alpha, CPDF_MeshVertex triangle[3]) argument 376 _DrawFreeGouraudShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Stream* pShadingStream, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument 409 _DrawLatticeGouraudShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Stream* pShadingStream, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument 802 CFX_DIBitmap* pBitmap = buffer.GetBitmap(); member in struct:CPDF_PatchDrawer 890 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local [all...] |
H A D | fpdf_render_cache.cpp | 107 void CPDF_PageRenderCache::GetCachedBitmap(CPDF_Stream* pStream, CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, argument 117 FX_BOOL bCached = pImageCache->GetCachedBitmap(pBitmap, pMask, MatteColor, m_pPage->m_pPageResources, bStdCS, GroupFamily, bLoadMask, pRenderStatus, downsampleWidth, downsampleHeight); 159 void CPDF_PageRenderCache::ResetBitmap(CPDF_Stream* pStream, const CFX_DIBitmap* pBitmap) argument 163 if (pBitmap == NULL) { 170 pImageCache->Reset(pBitmap); 197 void CPDF_ImageCache::Reset(const CFX_DIBitmap* pBitmap) argument 203 if (pBitmap) { 204 m_pCachedBitmap = pBitmap->Clone(); 227 FX_BOOL CPDF_ImageCache::GetCachedBitmap(CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, CPDF_Dictionary* pPageResources, argument 232 pBitmap [all...] |
H A D | fpdf_render_text.cpp | 100 static int _DetectFirstLastScan(const CFX_DIBitmap* pBitmap, FX_BOOL bFirst) argument 102 int height = pBitmap->GetHeight(), pitch = pBitmap->GetPitch(), width = pBitmap->GetWidth(); 103 int bpp = pBitmap->GetBPP(); 107 FX_LPBYTE pBuf = pBitmap->GetBuffer(); 131 CFX_DIBitmap* pBitmap = pChar->m_pBitmap; local 140 top_line = _DetectFirstLastScan(pBitmap, TRUE); 141 bottom_line = _DetectFirstLastScan(pBitmap, FALSE); 142 if (top_line == 0 && bottom_line == pBitmap 457 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd); local [all...] |
H A D | fpdf_render_image.cpp | 775 CFX_DIBitmap* pBitmap = m_pTransformer->m_Storer.Detach(); local 776 if (pBitmap == NULL) { 779 if (pBitmap->IsAlphaMask()) { 783 m_Result = m_pRenderStatus->m_pDevice->SetBitMask(pBitmap, 787 pBitmap->MultiplyAlpha(m_BitmapAlpha); 789 m_Result = m_pRenderStatus->m_pDevice->SetDIBits(pBitmap, 792 delete pBitmap;
|
H A D | fpdf_render_loadimage.cpp | 71 CFX_DIBSource* pBitmap = m_pDIBSource; local 73 return pBitmap; 77 CFX_DIBSource* pBitmap = m_pMask; local 79 return pBitmap; 173 void CPDF_DIBSource::ReleaseBitmap(CFX_DIBitmap* pBitmap) const 175 if (pBitmap && pBitmap != m_pCachedBitmap) { 176 delete pBitmap;
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_device.cpp | 311 FX_BOOL CFX_RenderDevice::GetDIBits(CFX_DIBitmap* pBitmap, int left, int top, void* pIccTransform) argument 316 return m_pDeviceDriver->GetDIBits(pBitmap, left, top, pIccTransform); 322 FX_BOOL CFX_RenderDevice::SetDIBits(const CFX_DIBSource* pBitmap, int left, int top, int blend_mode, argument 325 ASSERT(!pBitmap->IsAlphaMask()); 329 FX_RECT dest_rect(left, top, FXSYS_round(left + pBitmap->GetWidth() / fScaleX), FXSYS_round(top + pBitmap->GetHeight() / fScaleY)); 341 (pBitmap->HasAlpha() && !(m_RenderCaps & FXRC_ALPHA_IMAGE))) { 356 pBitmap, src_rect.left, src_rect.top, 363 return m_pDeviceDriver->SetDIBits(pBitmap, 0, &src_rect, dest_rect.left, dest_rect.top, blend_mode, 0, pIccTransform); 365 FX_BOOL CFX_RenderDevice::StretchDIBits(const CFX_DIBSource* pBitmap, in argument 377 SetBitMask(const CFX_DIBSource* pBitmap, int left, int top, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument 383 StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top, int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags, int alpha_flag, void* pIccTransform) argument 392 StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_alpha, FX_DWORD argb, const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle, int alpha_flag, void* pIccTransform, int blend_mode) argument [all...] |
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | fx_agg_driver.cpp | 188 IFX_RenderDeviceDriver* IFX_RenderDeviceDriver::CreateFxgeDriver(CFX_DIBitmap* pBitmap, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout) argument 190 return new CFX_AggDeviceDriver(pBitmap, 0, bRgbByteOrder, pOriDevice, bGroupKnockout); 192 CFX_AggDeviceDriver::CFX_AggDeviceDriver(CFX_DIBitmap* pBitmap, int dither_bits, FX_BOOL bRgbByteOrder, CFX_DIBitmap* pOriDevice, FX_BOOL bGroupKnockout) argument 194 m_pBitmap = pBitmap; 1190 void RgbByteOrderSetPixel(CFX_DIBitmap* pBitmap, int x, int y, FX_DWORD argb) 1192 if (x < 0 || x >= pBitmap->GetWidth() || y < 0 || y >= pBitmap->GetHeight()) { 1195 FX_LPBYTE pos = (FX_BYTE*)pBitmap->GetBuffer() + y * pBitmap->GetPitch() + x * pBitmap [all...] |
/external/pdfium/fpdfsdk/src/ |
H A D | fpdfview.cpp | 354 CFX_DIBitmap* pBitmap = NULL; local 360 pBitmap = new CFX_DIBitmap; 361 pBitmap->Create(size_x, size_y, FXDIB_Argb); 362 pBitmap->Clear(0x00ffffff); 365 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); 368 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); 378 if (pBitmap) 385 int pitch = pBitmap->GetPitch(); 388 pDst->CompositeBitmap(0, 0, size_x, size_y, pBitmap, 0, 0, FXDIB_BLEND_NORMAL, NULL, FALSE, NULL); 393 WinDC.SetDIBits(pBitmap, 627 CFX_DIBitmap* pBitmap = new CFX_DIBitmap; local [all...] |
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_main.cpp | 1603 CFX_DIBitmap* pBitmap = m_pTransformer->m_Storer.Detach(); local 1604 if (pBitmap == NULL) { 1607 if (pBitmap->GetBuffer() == NULL) { 1608 delete pBitmap; 1611 if (pBitmap->IsAlphaMask()) { 1620 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, m_MaskColor, 1624 pBitmap->MultiplyAlpha(m_BitmapAlpha); 1627 pBitmap 1646 CFX_DIBitmap* pBitmap = m_pBitmap; local 1650 Replace(CFX_DIBitmap* pBitmap) argument [all...] |
/external/pdfium/core/include/fpdfapi/ |
H A D | fpdf_render.h | 255 void GetCachedBitmap(CPDF_Stream* pStream, CFX_DIBSource*& pBitmap, CFX_DIBSource*& pMask, FX_DWORD& MatteColor, 259 void ResetBitmap(CPDF_Stream* pStream, const CFX_DIBitmap* pBitmap);
|