Home
last modified time | relevance | path

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

/external/pdfium/xfa/fde/
Dfde_gedevice.cpp23 : m_pDevice(pDevice), m_bOwnerDevice(bOwnerDevice), m_iCharCount(0) { in CFDE_RenderDevice()
26 FX_RECT rt = m_pDevice->GetClipBox(); in CFDE_RenderDevice()
34 delete m_pDevice; in ~CFDE_RenderDevice()
38 return m_pDevice->GetWidth(); in GetWidth()
42 return m_pDevice->GetHeight(); in GetHeight()
46 m_pDevice->SaveState(); in SaveState()
50 m_pDevice->RestoreState(false); in RestoreState()
51 const FX_RECT& rt = m_pDevice->GetClipBox(); in RestoreState()
59 return m_pDevice->SetClip_Rect(FX_RECT((int32_t)FXSYS_floor(rtClip.left), in SetClipRect()
115 m_pDevice->StartDIBits(pDib, 255, 0, (const CFX_Matrix*)&dib2fxdev, 0, in DrawImage()
[all …]
Dfde_gedevice.h121 CFX_RenderDevice* const m_pDevice; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp18 : m_pDevice(nullptr), m_pContext(nullptr), m_pObject(nullptr) {} in CPDF_DeviceBuffer()
27 m_pDevice = pDevice; in Initialize()
46 CFX_Matrix ctm = m_pDevice->GetCTM(); in Initialize()
59 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) { in OutputToDevice()
61 m_pDevice->SetDIBits(m_pBitmap.get(), m_Rect.left, m_Rect.top); in OutputToDevice()
63 m_pDevice->StretchDIBits(m_pBitmap.get(), m_Rect.left, m_Rect.top, in OutputToDevice()
69 m_pDevice->CreateCompatibleBitmap(&buffer, m_pBitmap->GetWidth(), in OutputToDevice()
74 m_pDevice->StretchDIBits(&buffer, m_Rect.left, m_Rect.top, m_Rect.Width(), in OutputToDevice()
Dcpdf_progressiverenderer.cpp23 m_pDevice(pDevice), in CPDF_ProgressiveRenderer()
30 m_pDevice->RestoreState(false); in ~CPDF_ProgressiveRenderer()
34 if (!m_pContext || !m_pDevice || m_Status != Ready) { in Start()
54 m_pContext, m_pDevice, nullptr, nullptr, nullptr, nullptr, m_pOptions, in Continue()
56 m_pDevice->SaveState(); in Continue()
57 m_ClipRect = CFX_FloatRect(m_pDevice->GetClipBox()); in Continue()
102 m_pDevice->RestoreState(false); in Continue()
Dcpdf_imagerenderer.cpp53 m_pRenderStatus->m_pDevice->CancelDIBits(m_DeviceHandle); in ~CPDF_ImageRenderer()
125 if (m_pRenderStatus->m_pDevice->GetDeviceClass() != FXDC_DISPLAY) { in StartRenderDIBSource()
231 !(m_pRenderStatus->m_pDevice->GetRenderCaps() & FXRC_BLEND_MODE); in NotDrawing()
236 rect.Intersect(m_pRenderStatus->m_pDevice->GetClipBox()); in GetDrawRect()
329 m_pRenderStatus->m_pDevice->SetDIBitsWithBlend( in DrawPatternImage()
376 m_pRenderStatus->m_pDevice->SetBitsWithMask( in DrawMaskedImage()
384 m_pRenderStatus->m_pDevice->SetDIBitsWithBlend( in DrawMaskedImage()
408 if (m_pRenderStatus->m_pDevice->StartDIBitsWithBlend( in StartDIBSource()
418 if (m_pRenderStatus->m_pDevice->StartDIBitsWithBlend( in StartDIBSource()
439 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource()
[all …]
Dcpdf_renderstatus.cpp953 m_pDevice(nullptr), in CPDF_RenderStatus()
984 m_pDevice = pDevice; in Initialize()
985 m_bPrint = m_pDevice->GetDeviceClass() != FXDC_DISPLAY; in Initialize()
1031 CFX_FloatRect clip_rect(m_pDevice->GetClipBox()); in RenderObjectList()
1128 FX_RECT rtClip = m_pDevice->GetClipBox(); in GetObjectClippedRect()
1130 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetObjectClippedRect()
1196 CFX_Matrix dCTM = m_pDevice->GetCTM(); in GetScaledMatrix()
1209 m_pDevice->GetDeviceCaps(FXDC_DEVICE_CLASS) == FXDC_PRINTER) { in DrawObjWithBackground()
1213 if (!buffer.Initialize(m_pContext, m_pDevice, rect, pObj, &m_Options, res)) { in DrawObjWithBackground()
1251 status.Initialize(m_pContext, m_pDevice, nullptr, m_pStopObj, this, pFormObj, in ProcessForm()
[all …]
Dcpdf_scaledrenderbuffer.cpp27 m_pDevice = pDevice; in Initialize()
28 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) in Initialize()
50 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_ALPHA_OUTPUT) { in Initialize()
77 m_pDevice->StretchDIBits(m_pBitmapDevice->GetBitmap(), m_Rect.left, in OutputToDevice()
Dcpdf_scaledrenderbuffer.h32 return m_pBitmapDevice ? m_pBitmapDevice.get() : m_pDevice; in GetDevice()
38 CFX_RenderDevice* m_pDevice;
Dcpdf_devicebuffer.h33 CFX_RenderDevice* m_pDevice;
Dcpdf_progressiverenderer.h51 CFX_RenderDevice* const m_pDevice; variable
Dcpdf_renderstatus.h161 CFX_RenderDevice* m_pDevice; variable
/external/pdfium/xfa/fxfa/app/
Dxfa_ffwidget.cpp581 CFX_RenderDevice* m_pDevice; member in CXFA_ImageRenderer
597 : m_pDevice(nullptr), in CXFA_ImageRenderer()
610 m_pDevice->CancelDIBits(m_DeviceHandle); in ~CXFA_ImageRenderer()
620 m_pDevice = pDevice; in Start()
631 if (m_pDevice->StartDIBitsWithBlend(m_pDIBSource, m_BitmapAlpha, m_FillArgb, in StartDIBSource()
646 if (m_bPrint && !(m_pDevice->GetRenderCaps() & FXRC_BLEND_MODE)) { in StartDIBSource()
652 !(m_pDevice->GetRenderCaps() & FXRC_ALPHA_IMAGE) && in StartDIBSource()
653 !(m_pDevice->GetRenderCaps() & FXRC_GET_BITS)) { in StartDIBSource()
661 FX_RECT clip_box = m_pDevice->GetClipBox(); in StartDIBSource()
679 if (m_pDevice->StretchDIBitsWithFlagsAndBlend( in StartDIBSource()
[all …]
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp610 CFX_DIBitmap* m_pDevice; member in CFX_Renderer
635 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan()
792 if (m_pDevice->GetPalette()) { in CompositeSpan()
794 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan()
831 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp()
838 if (m_pDevice->GetPalette()) { in CompositeSpan1bpp()
840 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan1bpp()
1247 uint8_t* dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
1249 CFX_DIBitmap* pAlphaMask = m_pDevice->m_pAlphaMask; in render()
1258 int Bpp = m_pDevice->GetBPP() / 8; in render()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_progressive.cpp50 pContext->m_pDevice.reset(pDevice); in FPDF_RenderPageBitmap_Start()
93 pContext->m_pDevice->RestoreState(false); in FPDF_RenderPage_Close()
Dfpdfview.cpp115 pContext->m_pDevice->SaveState(); in RenderPageImpl()
116 pContext->m_pDevice->SetClip_Rect(clipping_rect); in RenderPageImpl()
123 bool bPrinting = pContext->m_pDevice->GetDeviceClass() != FXDC_DISPLAY; in RenderPageImpl()
129 pContext->m_pContext.get(), pContext->m_pDevice.get(), in RenderPageImpl()
133 pContext->m_pDevice->RestoreState(false); in RenderPageImpl()
714 pContext->m_pDevice = pdfium::WrapUnique(pDevice); in FPDF_RenderPage()
717 pContext->m_pDevice = pdfium::MakeUnique<CFX_WindowsDevice>(dc); in FPDF_RenderPage()
760 pContext->m_pDevice.reset(pDevice); in FPDF_RenderPageBitmap()
789 pContext->m_pDevice.reset(pDevice); in FPDF_RenderPageBitmapWithMatrix()
824 pContext->m_pDevice.reset(skDevice); in FPDF_RenderPageSkp()
/external/pdfium/core/fpdfapi/
Dcpdf_pagerendercontext.h25 std::unique_ptr<CFX_RenderDevice> m_pDevice; variable
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2283 CFX_DIBitmap* m_pDevice; member in CFX_Renderer
2308 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan()
2465 if (m_pDevice->GetPalette()) { in CompositeSpan()
2467 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan()
2504 ASSERT(!m_pDevice->IsCmykImage()); in CompositeSpan1bpp()
2511 if (m_pDevice->GetPalette()) { in CompositeSpan1bpp()
2513 if (FXARGB_TODIB(m_pDevice->GetPalette()[i]) == m_Color) { in CompositeSpan1bpp()
2920 uint8_t* dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
2922 CFX_DIBitmap* pAlphaMask = m_pDevice->m_pAlphaMask; in render()
2931 int Bpp = m_pDevice->GetBPP() / 8; in render()
[all …]
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp1501 m_pDevice = pDevice; in Start()
1586 m_pDevice->CompositeMask( in Continue()
1594 m_pDevice->CompositeBitmap( in Continue()
/external/pdfium/core/fxge/
Dfx_dib.h680 CFX_DIBitmap* m_pDevice;