Home
last modified time | relevance | path

Searched refs:m_pDevice (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp193 m_pDevice = NULL; in CPDF_RenderStatus()
227 m_pDevice = pDevice; in Initialize()
229 m_bPrint = m_pDevice->GetDeviceClass() != FXDC_DISPLAY; in Initialize()
279 CFX_FloatRect clip_rect = m_pDevice->GetClipBox(); in RenderObjectList()
379 FX_RECT rtClip = m_pDevice->GetClipBox(); in GetObjectClippedRect()
381 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetObjectClippedRect()
396 CFX_DIBitmap* pBitmap = m_pDevice->GetBitmap(); in DitherObjectArea()
462 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetScaledMatrix()
474 …if (pObj->m_Type == PDFPAGE_IMAGE && m_pDevice->GetDeviceCaps(FXDC_DEVICE_CLASS) == FXDC_PRINTER) { in DrawObjWithBackground()
478 if (!buffer.Initialize(m_pContext, m_pDevice, &rect, pObj, &m_Options, res)) { in DrawObjWithBackground()
[all …]
Dfpdf_render_image.cpp80 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap()
88 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap()
94 FX_BOOL bGetBackGround = ((m_pDevice->GetRenderCaps() & FXRC_ALPHA_OUTPUT)) || in CompositeDIBitmap()
95 … (!(m_pDevice->GetRenderCaps() & FXRC_ALPHA_OUTPUT) && (m_pDevice->GetRenderCaps() in CompositeDIBitmap()
102 m_pDevice->SetDIBits(pDIBitmap, left, top, blend_mode); in CompositeDIBitmap()
105 rect.Intersect(m_pDevice->GetClipBox()); in CompositeDIBitmap()
108 if (m_pDevice->GetBackDrop() && m_pDevice->GetBitmap()) { in CompositeDIBitmap()
110 pClone = m_pDevice->GetBackDrop()->Clone(&rect); in CompositeDIBitmap()
111 CFX_DIBitmap *pForeBitmap = m_pDevice->GetBitmap(); in CompositeDIBitmap()
124 if (m_pDevice->GetBackDrop()) { in CompositeDIBitmap()
[all …]
Dfpdf_render_pattern.cpp767 buffer.Initialize(m_pContext, m_pDevice, &clip_rect, m_pCurObj, 150); in DrawShading()
816 m_pDevice->SaveState(); in DrawShadingPattern()
819 m_pDevice->RestoreState(); in DrawShadingPattern()
824 m_pDevice->SetClip_Rect(&rect); in DrawShadingPattern()
830 m_pDevice->RestoreState(); in DrawShadingPattern()
838 m_pDevice->RestoreState(); in DrawShadingPattern()
843 FX_RECT clip_box = m_pDevice->GetClipBox(); in ProcessShading()
895 m_pDevice->SaveState(); in DrawTilingPattern()
898 m_pDevice->RestoreState(); in DrawTilingPattern()
903 m_pDevice->SetClip_Rect(&rect); in DrawTilingPattern()
[all …]
Dfpdf_render_text.cpp296 …return CPDF_TextRenderer::DrawTextPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textob… in ProcessText()
300 …return CPDF_TextRenderer::DrawNormalText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, text… in ProcessText()
379 CFX_Matrix dCTM = m_pDevice->GetCTM(); in ProcessType3Text()
389 int device_class = m_pDevice->GetDeviceClass(); in ProcessType3Text()
422 m_pDevice->SetBitMask(&glyph.m_pGlyph->m_Bitmap, in ProcessType3Text()
439 … status.Initialize(m_Level + 1, m_pContext, m_pDevice, NULL, NULL, this, pStates, &Options, in ProcessType3Text()
443 m_pDevice->SaveState(); in ProcessType3Text()
445 m_pDevice->RestoreState(); in ProcessType3Text()
463 m_pDevice->SetDIBits(bitmap_device.GetBitmap(), rect.left, rect.top); in ProcessType3Text()
481m_pDevice->SetBitMask(&pBitmap->m_Bitmap, origin_x + pBitmap->m_Left, origin_y - pBitmap->m_Top, f… in ProcessType3Text()
[all …]
Drender_int.h160 CFX_RenderDevice* m_pDevice; variable
267 return m_pBitmapDevice ? m_pBitmapDevice : m_pDevice; in GetDevice()
275 CFX_RenderDevice* m_pDevice;
317 CFX_RenderDevice* m_pDevice;
/external/pdfium/fpdfsdk/src/
Dfpdf_progressive.cpp38 pContext->m_pDevice = FX_NEW CFX_SkiaDevice; in FPDF_RenderPageBitmap_Start()
40 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
42 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
44 pContext->m_pDevice = FX_NEW CFX_FxgeDevice; in FPDF_RenderPageBitmap_Start()
46 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
48 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
109 pContext->m_pDevice->RestoreState(); in FPDF_RenderPage_Close()
Dfsdk_rendercontext.cpp11 m_pDevice = NULL; in Clear()
26 if (m_pDevice) delete m_pDevice; in ~CRenderContext()
Dfpdfview.cpp459 pContext->m_pDevice = FX_NEW CFX_SkiaDevice; in FPDF_RenderPage()
460 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); in FPDF_RenderPage()
462 pContext->m_pDevice = FX_NEW CFX_FxgeDevice; in FPDF_RenderPage()
463 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); in FPDF_RenderPage()
467 pContext->m_pDevice = FX_NEW CFX_WindowsDevice(dc); in FPDF_RenderPage()
546 pContext->m_pDevice = FX_NEW CPDF_FxgeDevice; in FPDF_RenderPage()
547 ((CPDF_FxgeDevice*)pContext->m_pDevice)->Attach(pContext->m_pBitmap); in FPDF_RenderPage()
615 pContext->m_pDevice = FX_NEW CFX_SkiaDevice; in FPDF_RenderPageBitmap()
618 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap()
620 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap()
[all …]
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp386 CFX_DIBitmap* m_pDevice; member in CFX_Renderer
395 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan()
546 if (m_pDevice->GetPalette() == NULL) { in CompositeSpan()
550 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan()
579 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp()
584 if (m_pDevice->GetPalette() == NULL) { in CompositeSpan1bpp()
588 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan1bpp()
961 FX_LPBYTE dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
963 CFX_DIBitmap* pAlphaMask = m_pDevice->m_pAlphaMask; in render()
971 int Bpp = m_pDevice->GetBPP() / 8; in render()
[all …]
/external/pdfium/fpdfsdk/include/
Dfsdk_rendercontext.h21 CFX_RenderDevice* m_pDevice; variable
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h184 CFX_RenderDevice* m_pDevice; variable
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1590 m_pDevice = pDevice;
1669 m_pDevice->CompositeMask(m_pTransformer->m_ResultLeft, m_pTransformer->m_ResultTop,
1676 m_pDevice->CompositeBitmap(m_pTransformer->m_ResultLeft, m_pTransformer->m_ResultTop,
/external/pdfium/core/include/fxge/
Dfx_dib.h589 CFX_DIBitmap* m_pDevice;