Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cps_printer_driver.h>
Public Member Functions | |
CPSPrinterDriver (HDC hDC, WindowsPrintMode mode, CFX_PSFontTracker *ps_font_tracker, const EncoderIface *encoder_iface) | |
~CPSPrinterDriver () override | |
Public Member Functions inherited from RenderDeviceDriverIface | |
virtual | ~RenderDeviceDriverIface () |
virtual void | SetBaseClip (const FX_RECT &rect) |
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 | GetDIBits (const RetainPtr< CFX_DIBitmap > &pBitmap, int left, int top) |
virtual RetainPtr< CFX_DIBitmap > | GetBackDrop () |
virtual bool | ContinueDIBits (CFX_ImageRenderer *handle, PauseIndicatorIface *pPause) |
virtual int | GetDriverType () const |
virtual bool | DrawShading (const CPDF_ShadingPattern *pPattern, const CFX_Matrix *pMatrix, const FX_RECT &clip_rect, int alpha, bool bAlphaMode) |
Private Member Functions | |
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 &paath, 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 | GetClipBox (FX_RECT *pRect) override |
bool | SetDIBits (const RetainPtr< const CFX_DIBBase > &pBitmap, uint32_t color, const FX_RECT &src_rect, int left, int top, BlendMode blend_type) override |
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) override |
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) 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 |
bool | MultiplyAlpha (float alpha) override |
bool | MultiplyAlphaMask (const RetainPtr< const CFX_DIBBase > &mask) override |
Definition at line 20 of file cps_printer_driver.h.
CPSPrinterDriver::CPSPrinterDriver | ( | HDC | hDC, |
WindowsPrintMode | mode, | ||
CFX_PSFontTracker * | ps_font_tracker, | ||
const EncoderIface * | encoder_iface ) |
Definition at line 47 of file cps_printer_driver.cpp.
References CPSPrinterDriver(), CFX_Path::AppendRect(), CPSOutput::kExtEscape, CPSOutput::kGdiComment, kPostScript2, kPostScript3, and kPostScript3Type42.
Referenced by CPSPrinterDriver().
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 200 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 142 of file cps_printer_driver.cpp.
References kNormal.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 155 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 99 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 95 of file cps_printer_driver.cpp.
References kPrinter.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 211 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 217 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 122 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 118 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 126 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Reimplemented from RenderDeviceDriverIface.
Definition at line 134 of file cps_printer_driver.cpp.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 160 of file cps_printer_driver.cpp.
References kNormal.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 185 of file cps_printer_driver.cpp.
References kNormal.
|
overrideprivatevirtual |
Implements RenderDeviceDriverIface.
Definition at line 171 of file cps_printer_driver.cpp.