Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
RenderDeviceDriverIface Class Referenceabstract

#include <renderdevicedriver_iface.h>

+ Inheritance diagram for RenderDeviceDriverIface:
+ Collaboration diagram for RenderDeviceDriverIface:

Public Member Functions

virtual ~RenderDeviceDriverIface ()
 
virtual DeviceType GetDeviceType () const =0
 
virtual int GetDeviceCaps (int caps_id) const =0
 
virtual void SaveState ()=0
 
virtual void RestoreState (bool bKeepSaved)=0
 
virtual void SetBaseClip (const FX_RECT &rect)
 
virtual bool SetClip_PathFill (const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_FillRenderOptions &fill_options)=0
 
virtual bool SetClip_PathStroke (const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState)
 
virtual bool DrawPath (const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState, uint32_t fill_color, uint32_t stroke_color, const CFX_FillRenderOptions &fill_options, BlendMode blend_type)=0
 
virtual bool FillRectWithBlend (const FX_RECT &rect, uint32_t fill_color, BlendMode blend_type)
 
virtual bool DrawCosmeticLine (const CFX_PointF &ptMoveTo, const CFX_PointF &ptLineTo, uint32_t color, BlendMode blend_type)
 
virtual bool GetClipBox (FX_RECT *pRect)=0
 
virtual bool GetDIBits (const RetainPtr< CFX_DIBitmap > &pBitmap, int left, int top)
 
virtual RetainPtr< CFX_DIBitmapGetBackDrop ()
 
virtual bool SetDIBits (const RetainPtr< const CFX_DIBBase > &pBitmap, uint32_t color, const FX_RECT &src_rect, int dest_left, int dest_top, BlendMode blend_type)=0
 
virtual bool StretchDIBits (RetainPtr< const CFX_DIBBase > bitmap, uint32_t color, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT *pClipRect, const FXDIB_ResampleOptions &options, BlendMode blend_type)=0
 
virtual bool StartDIBits (RetainPtr< const CFX_DIBBase > bitmap, float alpha, uint32_t color, const CFX_Matrix &matrix, const FXDIB_ResampleOptions &options, std::unique_ptr< CFX_ImageRenderer > *handle, BlendMode blend_type)=0
 
virtual bool ContinueDIBits (CFX_ImageRenderer *handle, PauseIndicatorIface *pPause)
 
virtual bool DrawDeviceText (pdfium::span< const TextCharPos > pCharPos, CFX_Font *pFont, const CFX_Matrix &mtObject2Device, float font_size, uint32_t color, const CFX_TextRenderOptions &options)
 
virtual int GetDriverType () const
 
virtual bool DrawShading (const CPDF_ShadingPattern *pPattern, const CFX_Matrix *pMatrix, const FX_RECT &clip_rect, int alpha, bool bAlphaMode)
 
virtual bool MultiplyAlpha (float alpha)=0
 
virtual bool MultiplyAlphaMask (const RetainPtr< const CFX_DIBBase > &mask)=0
 

Detailed Description

Definition at line 38 of file renderdevicedriver_iface.h.

Constructor & Destructor Documentation

◆ ~RenderDeviceDriverIface()

RenderDeviceDriverIface::~RenderDeviceDriverIface ( )
virtualdefault

Member Function Documentation

◆ ContinueDIBits()

bool RenderDeviceDriverIface::ContinueDIBits ( CFX_ImageRenderer * handle,
PauseIndicatorIface * pPause )
virtual

Reimplemented in CFX_SkiaDeviceDriver, and pdfium::CFX_AggDeviceDriver.

Definition at line 47 of file renderdevicedriver_iface.cpp.

◆ DrawCosmeticLine()

bool RenderDeviceDriverIface::DrawCosmeticLine ( const CFX_PointF & ptMoveTo,
const CFX_PointF & ptLineTo,
uint32_t color,
BlendMode blend_type )
virtual

Reimplemented in CFX_SkiaDeviceDriver, and CGdiDeviceDriver.

Definition at line 30 of file renderdevicedriver_iface.cpp.

◆ DrawDeviceText()

bool RenderDeviceDriverIface::DrawDeviceText ( pdfium::span< const TextCharPos > pCharPos,
CFX_Font * pFont,
const CFX_Matrix & mtObject2Device,
float font_size,
uint32_t color,
const CFX_TextRenderOptions & options )
virtual

◆ DrawPath()

virtual bool RenderDeviceDriverIface::DrawPath ( const CFX_Path & path,
const CFX_Matrix * pObject2Device,
const CFX_GraphStateData * pGraphState,
uint32_t fill_color,
uint32_t stroke_color,
const CFX_FillRenderOptions & fill_options,
BlendMode blend_type )
pure virtual

◆ DrawShading()

bool RenderDeviceDriverIface::DrawShading ( const CPDF_ShadingPattern * pPattern,
const CFX_Matrix * pMatrix,
const FX_RECT & clip_rect,
int alpha,
bool bAlphaMode )
virtual

Reimplemented in CFX_SkiaDeviceDriver.

Definition at line 66 of file renderdevicedriver_iface.cpp.

◆ FillRectWithBlend()

bool RenderDeviceDriverIface::FillRectWithBlend ( const FX_RECT & rect,
uint32_t fill_color,
BlendMode blend_type )
virtual

◆ GetBackDrop()

RetainPtr< CFX_DIBitmap > RenderDeviceDriverIface::GetBackDrop ( )
virtual

Reimplemented in CFX_SkiaDeviceDriver, and pdfium::CFX_AggDeviceDriver.

Definition at line 43 of file renderdevicedriver_iface.cpp.

◆ GetClipBox()

virtual bool RenderDeviceDriverIface::GetClipBox ( FX_RECT * pRect)
pure virtual

◆ GetDeviceCaps()

virtual int RenderDeviceDriverIface::GetDeviceCaps ( int caps_id) const
pure virtual

◆ GetDeviceType()

virtual DeviceType RenderDeviceDriverIface::GetDeviceType ( ) const
pure virtual

◆ GetDIBits()

bool RenderDeviceDriverIface::GetDIBits ( const RetainPtr< CFX_DIBitmap > & pBitmap,
int left,
int top )
virtual

◆ GetDriverType()

int RenderDeviceDriverIface::GetDriverType ( ) const
virtual

Reimplemented in CFX_SkiaDeviceDriver, and pdfium::CFX_AggDeviceDriver.

Definition at line 62 of file renderdevicedriver_iface.cpp.

◆ MultiplyAlpha()

virtual bool RenderDeviceDriverIface::MultiplyAlpha ( float alpha)
pure virtual

◆ MultiplyAlphaMask()

virtual bool RenderDeviceDriverIface::MultiplyAlphaMask ( const RetainPtr< const CFX_DIBBase > & mask)
pure virtual

◆ RestoreState()

virtual void RenderDeviceDriverIface::RestoreState ( bool bKeepSaved)
pure virtual

◆ SaveState()

virtual void RenderDeviceDriverIface::SaveState ( )
pure virtual

◆ SetBaseClip()

void RenderDeviceDriverIface::SetBaseClip ( const FX_RECT & rect)
virtual

Reimplemented in CGdiDeviceDriver.

Definition at line 22 of file renderdevicedriver_iface.cpp.

◆ SetClip_PathFill()

virtual bool RenderDeviceDriverIface::SetClip_PathFill ( const CFX_Path & path,
const CFX_Matrix * pObject2Device,
const CFX_FillRenderOptions & fill_options )
pure virtual

◆ SetClip_PathStroke()

bool RenderDeviceDriverIface::SetClip_PathStroke ( const CFX_Path & path,
const CFX_Matrix * pObject2Device,
const CFX_GraphStateData * pGraphState )
virtual

◆ SetDIBits()

virtual bool RenderDeviceDriverIface::SetDIBits ( const RetainPtr< const CFX_DIBBase > & pBitmap,
uint32_t color,
const FX_RECT & src_rect,
int dest_left,
int dest_top,
BlendMode blend_type )
pure virtual

◆ StartDIBits()

virtual bool RenderDeviceDriverIface::StartDIBits ( RetainPtr< const CFX_DIBBase > bitmap,
float alpha,
uint32_t color,
const CFX_Matrix & matrix,
const FXDIB_ResampleOptions & options,
std::unique_ptr< CFX_ImageRenderer > * handle,
BlendMode blend_type )
pure virtual

◆ StretchDIBits()

virtual bool RenderDeviceDriverIface::StretchDIBits ( RetainPtr< const CFX_DIBBase > bitmap,
uint32_t color,
int dest_left,
int dest_top,
int dest_width,
int dest_height,
const FX_RECT * pClipRect,
const FXDIB_ResampleOptions & options,
BlendMode blend_type )
pure virtual

The documentation for this class was generated from the following files: