Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/skia/
Dfx_skia_blitter_new.cpp82 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp_0()
83 dest_scan = (FX_BYTE*)m_pDevice->GetScanline(span_top) + span_left/8; in CompositeSpan1bpp_0()
90 if (m_pDevice->GetPalette() == NULL) in CompositeSpan1bpp_0()
94 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) in CompositeSpan1bpp_0()
115 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp_4()
116 dest_scan = (FX_BYTE*)m_pDevice->GetScanline(span_top) + span_left/8; in CompositeSpan1bpp_4()
124 if (m_pDevice->GetPalette() == NULL) in CompositeSpan1bpp_4()
128 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) in CompositeSpan1bpp_4()
150 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpanGray_2()
152 dest_scan = (FX_BYTE*)m_pDevice->GetScanline(span_top) + span_left; in CompositeSpanGray_2()
[all …]
Dfx_skia_blitter_new.h23 CFX_DIBitmap* m_pDevice; variable
222 CFX_DIBitmap* m_pDevice; variable
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp189 m_pDevice = NULL; in CPDF_RenderStatus()
224 m_pDevice = pDevice; in Initialize()
226 m_bPrint = m_pDevice->GetDeviceClass() != FXDC_DISPLAY; in Initialize()
267 CFX_FloatRect clip_rect = m_pDevice->GetClipBox(); in RenderObjectList()
358 FX_RECT rtClip = m_pDevice->GetClipBox(); in GetObjectClippedRect()
360 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetObjectClippedRect()
375 CFX_DIBitmap* pBitmap = m_pDevice->GetBitmap(); in DitherObjectArea()
436 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetScaledMatrix()
447 …if (pObj->m_Type == PDFPAGE_IMAGE && m_pDevice->GetDeviceCaps(FXDC_DEVICE_CLASS) == FXDC_PRINTER) { in DrawObjWithBackground()
451 if (!buffer.Initialize(m_pContext, m_pDevice, &rect, pObj, &m_Options, res)) { in DrawObjWithBackground()
[all …]
Dfpdf_render_image.cpp36 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap()
44 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap()
50 FX_BOOL bGetBackGround = ((m_pDevice->GetRenderCaps() & FXRC_ALPHA_OUTPUT)) || in CompositeDIBitmap()
51 … (!(m_pDevice->GetRenderCaps() & FXRC_ALPHA_OUTPUT) && (m_pDevice->GetRenderCaps() in CompositeDIBitmap()
58 m_pDevice->SetDIBits(pDIBitmap, left, top, blend_mode); in CompositeDIBitmap()
61 rect.Intersect(m_pDevice->GetClipBox()); in CompositeDIBitmap()
64 if (m_pDevice->GetBackDrop() && m_pDevice->GetBitmap()) { in CompositeDIBitmap()
66 pClone = m_pDevice->GetBackDrop()->Clone(&rect); in CompositeDIBitmap()
67 CFX_DIBitmap *pForeBitmap = m_pDevice->GetBitmap(); in CompositeDIBitmap()
80 if (m_pDevice->GetBackDrop()) { in CompositeDIBitmap()
[all …]
Dfpdf_render_pattern.cpp799 buffer.Initialize(m_pContext, m_pDevice, &clip_rect, m_pCurObj, 150); in DrawShading()
848 m_pDevice->SaveState(); in DrawShadingPattern()
851 m_pDevice->RestoreState(); in DrawShadingPattern()
856 m_pDevice->SetClip_Rect(&rect); in DrawShadingPattern()
862 m_pDevice->RestoreState(); in DrawShadingPattern()
870 m_pDevice->RestoreState(); in DrawShadingPattern()
875 FX_RECT clip_box = m_pDevice->GetClipBox(); in ProcessShading()
922 m_pDevice->SaveState(); in DrawTilingPattern()
925 m_pDevice->RestoreState(); in DrawTilingPattern()
930 m_pDevice->SetClip_Rect(&rect); in DrawTilingPattern()
[all …]
Dfpdf_render_text.cpp284 …return CPDF_TextRenderer::DrawTextPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textob… in ProcessText()
288 …return CPDF_TextRenderer::DrawNormalText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, text… in ProcessText()
367 CFX_Matrix dCTM = m_pDevice->GetCTM(); in ProcessType3Text()
377 int device_class = m_pDevice->GetDeviceClass(); in ProcessType3Text()
409 m_pDevice->SetBitMask(&glyph.m_pGlyph->m_Bitmap, in ProcessType3Text()
426 status.Initialize(m_pContext, m_pDevice, NULL, NULL, this, pStates, &Options, in ProcessType3Text()
430 m_pDevice->SaveState(); in ProcessType3Text()
432 m_pDevice->RestoreState(); in ProcessType3Text()
450 m_pDevice->SetDIBits(bitmap_device.GetBitmap(), rect.left, rect.top); in ProcessType3Text()
468m_pDevice->SetBitMask(&pBitmap->m_Bitmap, origin_x + pBitmap->m_Left, origin_y - pBitmap->m_Top, f… in ProcessType3Text()
[all …]
Drender_int.h165 CFX_RenderDevice* m_pDevice; variable
272 return m_pBitmapDevice ? m_pBitmapDevice : m_pDevice; in GetDevice()
280 CFX_RenderDevice* m_pDevice;
322 CFX_RenderDevice* m_pDevice;
/external/pdfium/fpdfsdk/src/
Dfpdf_progressive.cpp35 pContext->m_pDevice = new CFX_SkiaDevice; in FPDF_RenderPageBitmap_Start()
37 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
39 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
41 pContext->m_pDevice = new CFX_FxgeDevice; in FPDF_RenderPageBitmap_Start()
43 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
45 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
99 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.cpp364 pContext->m_pDevice = new CFX_SkiaDevice; in FPDF_RenderPage()
365 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); in FPDF_RenderPage()
367 pContext->m_pDevice = new CFX_FxgeDevice; in FPDF_RenderPage()
368 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)pBitmap); in FPDF_RenderPage()
372 pContext->m_pDevice = new CFX_WindowsDevice(dc); in FPDF_RenderPage()
449 pContext->m_pDevice = new CPDF_FxgeDevice; in FPDF_RenderPage()
450 ((CPDF_FxgeDevice*)pContext->m_pDevice)->Attach(pContext->m_pBitmap); in FPDF_RenderPage()
512 pContext->m_pDevice = new CFX_SkiaDevice; in FPDF_RenderPageBitmap()
515 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap()
517 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap()
[all …]
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp377 CFX_DIBitmap* m_pDevice; member in CFX_Renderer
386 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan()
537 if (m_pDevice->GetPalette() == NULL) { in CompositeSpan()
541 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan()
570 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp()
575 if (m_pDevice->GetPalette() == NULL) { in CompositeSpan1bpp()
579 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan1bpp()
952 FX_LPBYTE dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
954 CFX_DIBitmap* pAlphaMask = m_pDevice->m_pAlphaMask; in render()
962 int Bpp = m_pDevice->GetBPP() / 8; in render()
[all …]
/external/pdfium/fpdfsdk/include/
Dfsdk_rendercontext.h22 CFX_RenderDevice* m_pDevice; variable
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h169 CFX_RenderDevice* m_pDevice; variable
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1543 m_pDevice = pDevice;
1619 m_pDevice->CompositeMask(m_pTransformer->m_ResultLeft, m_pTransformer->m_ResultTop,
1626 m_pDevice->CompositeBitmap(m_pTransformer->m_ResultLeft, m_pTransformer->m_ResultTop,
/external/pdfium/core/include/fxge/
Dfx_dib.h588 CFX_DIBitmap* m_pDevice;