Home
last modified time | relevance | path

Searched refs:m_pBitmap (Results 1 – 25 of 25) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfsdk_rendercontext.cpp17 m_pBitmap = NULL; in Clear()
31 if (m_pBitmap) delete m_pBitmap; in ~CRenderContext()
Dfpdfview.cpp447 pContext->m_pBitmap = new CFX_DIBitmap; in FPDF_RenderPage()
448 pContext->m_pBitmap->Create(width, height, FXDIB_Rgb, (FX_LPBYTE)pBuffer); in FPDF_RenderPage()
450 ((CPDF_FxgeDevice*)pContext->m_pDevice)->Attach(pContext->m_pBitmap); in FPDF_RenderPage()
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp194 m_pBitmap = pBitmap; in CFX_AggDeviceDriver()
237 return m_pBitmap->GetWidth(); in GetDeviceCaps()
239 return m_pBitmap->GetHeight(); in GetDeviceCaps()
241 return m_pBitmap->GetBPP(); in GetDeviceCaps()
247 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps()
249 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps()
250 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps()
256 if (m_pBitmap->IsCmykImage()) { in GetDeviceCaps()
1116 …if (!render.Init(m_pBitmap, pt, m_pClipRgn, color, bFullCover, m_bRgbByteOrder, alpha_flag, pIccTr… in RenderRasterizer()
1400 if (m_pBitmap->GetBuffer() == NULL) { in SetPixel()
[all …]
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1457 m_pBitmap = NULL;
1459 m_pBitmap = pSrc->Clone();
1461 m_pBitmap = new CFX_DIBitmap;
1462 …if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat(), pSrc->GetBuffer()))…
1463 delete m_pBitmap;
1464 m_pBitmap = NULL;
1467 m_pBitmap->CopyPalette(pSrc->GetPalette());
1468 m_pBitmap->CopyAlphaMask(pSrc->m_pAlphaMask);
1473 if (m_pBitmap) {
1474 delete m_pBitmap;
[all …]
Dfx_dib_composite.cpp4412 m_pBitmap = pDest; in Compose()
4435 …if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, width, pSrcPalette, m_MaskColor, FXDIB_… in SetInfo()
4440 m_pScanlineV = FX_Alloc(FX_BYTE, m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
4441 m_pClipScanV = FX_Alloc(FX_BYTE, m_pBitmap->GetHeight()); in SetInfo()
4442 if (m_pBitmap->m_pAlphaMask) { in SetInfo()
4447 … m_pAddClipScan = FX_Alloc(FX_BYTE, m_bVertical ? m_pBitmap->GetHeight() : m_pBitmap->GetWidth()); in SetInfo()
4482 FX_LPBYTE dest_scan = (FX_LPBYTE)m_pBitmap->GetScanline(line + m_DestTop) + in ComposeScanline()
4483 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
4484 FX_LPBYTE dest_alpha_scan = m_pBitmap->m_pAlphaMask ? in ComposeScanline()
4485 … (FX_LPBYTE)m_pBitmap->m_pAlphaMask->GetScanline(line + m_DestTop) + m_DestLeft : NULL; in ComposeScanline()
[all …]
/external/pdfium/core/src/reflow/
Dreflowedpage.h344 m_pBitmap = NULL; in CRF_ImageData()
348 if(m_pBitmap) { in ~CRF_ImageData()
349 delete m_pBitmap; in ~CRF_ImageData() local
351 m_pBitmap = NULL; in ~CRF_ImageData()
354 CFX_DIBitmap* m_pBitmap; variable
Dreflowedpage.cpp52 delete ((CRF_ImageData*)pData)->m_pBitmap; in ~CPDF_ReflowedPage()
498 if(!pImageData->m_pBitmap) { in Display()
503 CFX_DIBSource* pDispSource = pImageData->m_pBitmap; in Display()
507 pDiBmp = pImageData->m_pBitmap->TransformTo(&matrix, left, top); in Display()
Dlayoutprocessor_reflow.cpp1067 pRFImage->m_pBitmap = NULL; in CreateRFData()
1080 pRFImage->m_pBitmap = pDibSource->Clone(); in CreateRFData()
1088 pRFImage->m_pBitmap->MultiplyAlpha(pMaskBmp); in CreateRFData()
1091 pRFImage->m_pBitmap->MultiplyAlpha(pMask); in CreateRFData()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp339 if (m_Loader.m_pBitmap == NULL) { in StartRenderDIBSource()
347 m_pDIBSource = m_Loader.m_pBitmap; in StartRenderDIBSource()
356 …m_pDIBSource = m_Loader.m_pBitmap = pGeneralState->m_pTransferFunc->TranslateImage(m_Loader.m_pBit… in StartRenderDIBSource()
764 if (m_pQuickStretcher->m_pBitmap->IsAlphaMask()) in Continue()
765 …m_pRenderStatus->m_pDevice->SetBitMask(m_pQuickStretcher->m_pBitmap, m_pQuickStretcher->m_ResultLe… in Continue()
768 …m_pRenderStatus->m_pDevice->SetDIBits(m_pQuickStretcher->m_pBitmap, m_pQuickStretcher->m_ResultLef… in Continue()
809 m_pBitmap = NULL; in CPDF_QuickStretcher()
815 if (m_pBitmap) { in ~CPDF_QuickStretcher()
816 delete m_pBitmap; in ~CPDF_QuickStretcher()
894 m_pBitmap = new CFX_DIBitmap; in Start()
[all …]
Drender_int.h189 m_pBitmap = NULL; in CPDF_ImageLoader()
202 CFX_DIBSource* m_pBitmap; variable
295 CFX_DIBitmap* m_pBitmap; variable
315 return m_pBitmap; in GetBitmap()
326 CFX_DIBitmap* m_pBitmap; variable
Dfpdf_render_text.cpp128 if (pChar == NULL || pChar->m_pBitmap == NULL) { in RenderGlyph()
131 CFX_DIBitmap* pBitmap = pChar->m_pBitmap; in RenderGlyph()
309 if (m_pBitmap != NULL || m_pForm == NULL) { in LoadBitmap()
319 m_pBitmap = pSource->Clone(); in LoadBitmap()
334 m_pBitmap = dibsrc.Clone(); in LoadBitmap()
453 } else if (pType3Char->m_pBitmap) { in ProcessType3Text()
474 … if (renderer.Start(this, pType3Char->m_pBitmap, fill_argb, 255, &image_matrix, 0, FALSE)) { in ProcessType3Text()
Dfpdf_render.cpp1277 m_pBitmap = NULL; in CPDF_DeviceBuffer()
1284 if (m_pBitmap) { in ~CPDF_DeviceBuffer()
1285 delete m_pBitmap; in ~CPDF_DeviceBuffer()
1317 m_pBitmap = new CFX_DIBitmap; in Initialize()
1318 m_pBitmap->Create(bitmap_rect.Width(), bitmap_rect.Height(), FXDIB_Argb); in Initialize()
1325 m_pDevice->SetDIBits(m_pBitmap, m_Rect.left, m_Rect.top); in OutputToDevice()
1327 … m_pDevice->StretchDIBits(m_pBitmap, m_Rect.left, m_Rect.top, m_Rect.Width(), m_Rect.Height()); in OutputToDevice()
1331 m_pDevice->CreateCompatibleBitmap(&buffer, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in OutputToDevice()
1333 buffer.CompositeBitmap(0, 0, buffer.GetWidth(), buffer.GetHeight(), m_pBitmap, 0, 0); in OutputToDevice()
Dfpdf_render_loadimage.cpp1443 m_pImageLoader->m_pBitmap = pCache->m_pCurImageCache->DetachBitmap(); in Start()
1451 m_pImageLoader->m_pBitmap = m_pImage->m_pImage->DetachBitmap(); in Start()
1465 m_pImageLoader->m_pBitmap = m_pCache->m_pCurImageCache->DetachBitmap(); in Continue()
1473 m_pImageLoader->m_pBitmap = m_pImage->m_pImage->DetachBitmap(); in Continue()
1486 …pCache->GetCachedBitmap(pImage->m_pImage->GetStream(), m_pBitmap, m_pMask, m_MatteColor, bStdCS, G… in Load()
1489m_pBitmap = pImage->m_pImage->LoadDIBSource(&m_pMask, &m_MatteColor, bStdCS, GroupFamily, bLoadMas… in Load()
1510 delete m_pBitmap; in ~CPDF_ImageLoader()
/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp21 m_pPlatformGraphics = quartz2d.createGraphics(m_pBitmap); in InitPlatform()
149 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h104 return m_pBitmap->GetBuffer(); in GetBuffer()
111 CFX_DIBitmap* m_pBitmap; variable
/external/pdfium/fpdfsdk/include/
Dfsdk_rendercontext.h28 CFX_DIBitmap* m_pBitmap; variable
/external/pdfium/core/include/fxge/
Dfx_dib.h366 return m_pBitmap;
370 CFX_DIBitmap* m_pBitmap;
475 CFX_DIBitmap* m_pBitmap; variable
504 return m_pBitmap; in GetBitmap()
511 CFX_DIBitmap* m_pBitmap;
Dfx_ge.h363 return m_pBitmap; in GetBitmap()
367 m_pBitmap = pBitmap; in SetBitmap()
449 CFX_DIBitmap* m_pBitmap;
Dfx_font.h402 CFX_DIBitmap* m_pBitmap; variable
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h709 CFX_DIBitmap* m_pBitmap; variable
Dfpdf_resource.h450 CFX_DIBitmap* m_pBitmap; variable
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp1739 m_pBitmap = NULL; in CPDF_Type3Char()
1748 if (m_pBitmap) { in ~CPDF_Type3Char()
1749 delete m_pBitmap; in ~CPDF_Type3Char()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp11 m_pBitmap = NULL; in CFX_RenderDevice()
Dfx_ge_text.cpp1035 m_pBitmap = NULL; in CFX_FaceCache()
1054 if (m_pBitmap) { in ~CFX_FaceCache()
1055 delete m_pBitmap; in ~CFX_FaceCache()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp364 …if (!render.Init(m_pAggDriver->m_pBitmap, pt, m_pAggDriver->m_pClipRgn, color, bFullCover, m_pAggD… in RenderRasterizerSkia()