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:

Classes

struct  StartResult

Public Types

enum class  Result { kFailure , kSuccess }

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)=0
virtual bool FillRect (const FX_RECT &rect, uint32_t fill_color)
virtual bool DrawCosmeticLine (const CFX_PointF &ptMoveTo, const CFX_PointF &ptLineTo, uint32_t color)
virtual FX_RECT GetClipBox () const =0
virtual bool GetDIBits (RetainPtr< CFX_DIBitmap > bitmap, int left, int top) const
virtual RetainPtr< const CFX_DIBitmapGetBackDrop () const
virtual bool SetDIBits (RetainPtr< const CFX_DIBBase > bitmap, 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 StartResult StartDIBits (RetainPtr< const CFX_DIBBase > bitmap, float alpha, uint32_t color, const CFX_Matrix &matrix, const FXDIB_ResampleOptions &options, BlendMode blend_type)=0
virtual bool ContinueDIBits (CFX_AggImageRenderer *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 MultiplyAlpha (float alpha)=0
virtual bool MultiplyAlphaMask (RetainPtr< const CFX_DIBitmap > mask)=0

Detailed Description

Definition at line 41 of file renderdevicedriver_iface.h.

Member Enumeration Documentation

◆ Result

Enumerator
kFailure 
kSuccess 

Definition at line 43 of file renderdevicedriver_iface.h.

Constructor & Destructor Documentation

◆ ~RenderDeviceDriverIface()

RenderDeviceDriverIface::~RenderDeviceDriverIface ( )
virtualdefault

Member Function Documentation

◆ ContinueDIBits()

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

Reimplemented in pdfium::CFX_AggDeviceDriver.

Definition at line 48 of file renderdevicedriver_iface.cpp.

◆ DrawCosmeticLine()

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

Reimplemented in CGdiDeviceDriver.

Definition at line 32 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 )
pure virtual

◆ FillRect()

bool RenderDeviceDriverIface::FillRect ( const FX_RECT & rect,
uint32_t fill_color )
virtual

◆ GetBackDrop()

RetainPtr< const CFX_DIBitmap > RenderDeviceDriverIface::GetBackDrop ( ) const
virtual

Reimplemented in CFX_SkiaDeviceDriver, and pdfium::CFX_AggDeviceDriver.

Definition at line 44 of file renderdevicedriver_iface.cpp.

◆ GetClipBox()

virtual FX_RECT RenderDeviceDriverIface::GetClipBox ( ) const
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 ( RetainPtr< CFX_DIBitmap > bitmap,
int left,
int top ) const
virtual

◆ GetDriverType()

int RenderDeviceDriverIface::GetDriverType ( ) const
virtual

Reimplemented in CFX_SkiaDeviceDriver, and pdfium::CFX_AggDeviceDriver.

Definition at line 63 of file renderdevicedriver_iface.cpp.

◆ MultiplyAlpha()

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

◆ MultiplyAlphaMask()

virtual bool RenderDeviceDriverIface::MultiplyAlphaMask ( RetainPtr< const CFX_DIBitmap > 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 25 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 ( RetainPtr< const CFX_DIBBase > bitmap,
uint32_t color,
const FX_RECT & src_rect,
int dest_left,
int dest_top,
BlendMode blend_type )
pure virtual

◆ StartDIBits()

virtual StartResult RenderDeviceDriverIface::StartDIBits ( RetainPtr< const CFX_DIBBase > bitmap,
float alpha,
uint32_t color,
const CFX_Matrix & matrix,
const FXDIB_ResampleOptions & options,
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: