Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <fx_agg_driver.h>
Public Member Functions | |
CFX_AggDeviceDriver (RetainPtr< CFX_DIBitmap > pBitmap, bool bRgbByteOrder, RetainPtr< CFX_DIBitmap > pBackdropBitmap, bool bGroupKnockout) | |
~CFX_AggDeviceDriver () override | |
void | InitPlatform () |
void | DestroyPlatform () |
DeviceType | GetDeviceType () const override |
int | GetDeviceCaps (int caps_id) const override |
void | SaveState () override |
void | RestoreState (bool bKeepSaved) override |
bool | SetClip_PathFill (const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_FillRenderOptions &fill_options) override |
bool | SetClip_PathStroke (const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState) override |
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) override |
bool | FillRectWithBlend (const FX_RECT &rect, uint32_t fill_color, BlendMode blend_type) override |
bool | GetClipBox (FX_RECT *pRect) override |
bool | GetDIBits (const RetainPtr< CFX_DIBitmap > &pBitmap, int left, int top) override |
RetainPtr< CFX_DIBitmap > | GetBackDrop () override |
bool | SetDIBits (const RetainPtr< const CFX_DIBBase > &pBitmap, uint32_t argb, const FX_RECT &src_rect, int left, int top, BlendMode blend_type) override |
bool | StretchDIBits (RetainPtr< const CFX_DIBBase > bitmap, uint32_t argb, int dest_left, int dest_top, int dest_width, int dest_height, const FX_RECT *pClipRect, const FXDIB_ResampleOptions &options, BlendMode blend_type) override |
bool | StartDIBits (RetainPtr< const CFX_DIBBase > bitmap, float alpha, uint32_t argb, const CFX_Matrix &matrix, const FXDIB_ResampleOptions &options, std::unique_ptr< CFX_ImageRenderer > *handle, BlendMode blend_type) override |
bool | ContinueDIBits (CFX_ImageRenderer *handle, PauseIndicatorIface *pPause) override |
bool | DrawDeviceText (pdfium::span< const TextCharPos > pCharPos, CFX_Font *pFont, const CFX_Matrix &mtObject2Device, float font_size, uint32_t color, const CFX_TextRenderOptions &options) override |
int | GetDriverType () const override |
bool | MultiplyAlpha (float alpha) override |
bool | MultiplyAlphaMask (const RetainPtr< const CFX_DIBBase > &mask) override |
void | Clear (uint32_t color) |
Public Member Functions inherited from RenderDeviceDriverIface | |
virtual | ~RenderDeviceDriverIface () |
virtual void | SetBaseClip (const FX_RECT &rect) |
virtual bool | DrawCosmeticLine (const CFX_PointF &ptMoveTo, const CFX_PointF &ptLineTo, uint32_t color, BlendMode blend_type) |
virtual bool | DrawShading (const CPDF_ShadingPattern *pPattern, const CFX_Matrix *pMatrix, const FX_RECT &clip_rect, int alpha, bool bAlphaMode) |
Definition at line 33 of file fx_agg_driver.h.
pdfium::CFX_AggDeviceDriver::CFX_AggDeviceDriver | ( | RetainPtr< CFX_DIBitmap > | pBitmap, |
bool | bRgbByteOrder, | ||
RetainPtr< CFX_DIBitmap > | pBackdropBitmap, | ||
bool | bGroupKnockout ) |
Definition at line 966 of file fx_agg_driver.cpp.
References CFX_AggDeviceDriver(), and InitPlatform().
Referenced by CFX_AggDeviceDriver().
|
override |
Definition at line 981 of file fx_agg_driver.cpp.
References DestroyPlatform().
void pdfium::CFX_AggDeviceDriver::Clear | ( | uint32_t | color | ) |
Definition at line 1142 of file fx_agg_driver.cpp.
Referenced by CFX_DefaultRenderDevice::Clear().
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1380 of file fx_agg_driver.cpp.
void pdfium::CFX_AggDeviceDriver::DestroyPlatform | ( | ) |
Definition at line 988 of file fx_agg_driver.cpp.
Referenced by ~CFX_AggDeviceDriver().
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 990 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1159 of file fx_agg_driver.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_Matrix::a, CFX_Matrix::b, CFX_Matrix::c, CFX_Matrix::d, CFX_FillRenderOptions::fill_type, CFX_FillRenderOptions::full_cover, GetDeviceCaps(), CFX_Matrix::GetInverse(), CFX_FillRenderOptions::kNoFill, kNormal, CFX_Matrix::operator*(), CFX_Matrix::operator=(), CFX_FillRenderOptions::stroke_text_mode, and CFX_FillRenderOptions::zero_area.
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1225 of file fx_agg_driver.cpp.
References GetClipBox(), FX_RECT::Intersect(), FX_RECT::IsEmpty(), and kNormal.
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1304 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1260 of file fx_agg_driver.cpp.
References FX_RECT::bottom, GetDeviceCaps(), FX_RECT::left, FX_RECT::right, and FX_RECT::top.
Referenced by FillRectWithBlend().
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1005 of file fx_agg_driver.cpp.
Referenced by DrawPath(), GetClipBox(), SetClip_PathFill(), and SetClip_PathStroke().
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1001 of file fx_agg_driver.cpp.
References kDisplay.
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1271 of file fx_agg_driver.cpp.
References FX_RECT::Height(), and FX_RECT::Width().
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1129 of file fx_agg_driver.cpp.
void pdfium::CFX_AggDeviceDriver::InitPlatform | ( | ) |
Definition at line 986 of file fx_agg_driver.cpp.
Referenced by CFX_AggDeviceDriver().
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1133 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1137 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1039 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1032 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1076 of file fx_agg_driver.cpp.
References CFX_FloatRect::CFX_FloatRect(), GetDeviceCaps(), CFX_FloatRect::GetOuterRect(), and CFX_FloatRect::Intersect().
|
overridevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 1109 of file fx_agg_driver.cpp.
References GetDeviceCaps().
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1308 of file fx_agg_driver.cpp.
Referenced by StretchDIBits().
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1363 of file fx_agg_driver.cpp.
|
overridevirtual |
Implements RenderDeviceDriverIface.
Definition at line 1329 of file fx_agg_driver.cpp.
References FX_RECT::FX_RECT(), CFX_ImageStretcher::Continue(), FX_RECT::Intersect(), FX_RECT::left, FX_RECT::Normalize(), FX_RECT::Offset(), SetDIBits(), CFX_ImageStretcher::Start(), and FX_RECT::top.