Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPdfPrintEnginePrivate Class Reference

#include <qprintengine_pdf_p.h>

+ Inheritance diagram for QPdfPrintEnginePrivate:
+ Collaboration diagram for QPdfPrintEnginePrivate:

Public Member Functions

 QPdfPrintEnginePrivate (QPrinter::PrinterMode m)
 
 ~QPdfPrintEnginePrivate ()
 
QPrinter::ColorMode printerColorMode () const
 
virtual bool openPrintDevice ()
 
virtual void closePrintDevice ()
 
- Public Member Functions inherited from QPdfEnginePrivate
 QPdfEnginePrivate ()
 
 ~QPdfEnginePrivate ()
 
uint requestObject ()
 
void writeHeader ()
 
void writeTail ()
 
int addImage (const QImage &image, bool *bitmap, bool lossless, qint64 serial_no)
 Adds an image to the pdf and return the pdf-object id.
 
int addConstantAlphaObject (int brushAlpha, int penAlpha=255)
 
int addBrushPattern (const QTransform &matrix, bool *specifyColor, int *gStateObject)
 
void drawTextItem (const QPointF &p, const QTextItemInt &ti)
 
QTransform pageMatrix () const
 
void newPage ()
 
- Public Member Functions inherited from QPaintEnginePrivate
 QPaintEnginePrivate ()
 
virtual ~QPaintEnginePrivate ()
 
void updateSystemClip ()
 
void setSystemTransform (const QTransform &xform)
 
void setSystemViewport (const QRegion &region)
 
void setSystemTransformAndViewport (const QTransform &xform, const QRegion &region)
 
virtual void systemStateChanged ()
 
void drawBoxTextItem (const QPointF &p, const QTextItemInt &ti)
 
virtual QPaintEngineaggregateEngine ()
 
virtual Qt::HANDLE nativeHandle ()
 

Friends

class QCupsPrintEngine
 
class QCupsPrintEnginePrivate
 

Additional Inherited Members

- Static Public Member Functions inherited from QPaintEnginePrivate
static QPaintEnginePrivateget (QPaintEngine *paintEngine)
 
- Public Attributes inherited from QPdfEnginePrivate
int currentObject
 
QPdfPagecurrentPage
 
QPdf::Stroker stroker
 
QPointF brushOrigin
 
QBrush brush
 
QPen pen
 
QList< QPainterPathclips
 
bool clipEnabled
 
bool allClipped
 
bool hasPen
 
bool hasBrush
 
bool simplePen
 
bool needsTransform
 
qreal opacity
 
QPdfEngine::PdfVersion pdfVersion
 
QPdfEngine::ColorModel colorModel
 
QHash< QFontEngine::FaceId, QFontSubset * > fonts
 
QPaintDevicepdev
 
QIODeviceoutDevice
 
bool ownsDevice
 
QString outputFileName
 
QString title
 
QString creator
 
bool embedFonts
 
int resolution
 
QPageLayout m_pageLayout
 
- Public Attributes inherited from QPaintEnginePrivate
QPaintDevicepdev
 
QPaintEngineq_ptr
 
QRegion baseSystemClip
 
QRegion systemClip
 
QRect systemRect
 
QRegion systemViewport
 
QTransform systemTransform
 
QPaintDevicecurrentClipDevice
 
uint hasSystemTransform: 1
 
uint hasSystemViewport: 1
 

Detailed Description

Definition at line 75 of file qprintengine_pdf_p.h.

Constructor & Destructor Documentation

◆ QPdfPrintEnginePrivate()

QPdfPrintEnginePrivate::QPdfPrintEnginePrivate ( QPrinter::PrinterMode m)

Definition at line 359 of file qprintengine_pdf.cpp.

References QPrinter::HighResolution, qt_defaultDpi(), QPdfEnginePrivate::resolution, and QPrinter::ScreenResolution.

+ Here is the call graph for this function:

◆ ~QPdfPrintEnginePrivate()

QPdfPrintEnginePrivate::~QPdfPrintEnginePrivate ( )

Definition at line 374 of file qprintengine_pdf.cpp.

Member Function Documentation

◆ closePrintDevice()

void QPdfPrintEnginePrivate::closePrintDevice ( )
virtual

Reimplemented in QCupsPrintEnginePrivate.

Definition at line 341 of file qprintengine_pdf.cpp.

References QIODevice::close(), and QPdfEnginePrivate::outDevice.

Referenced by QCupsPrintEnginePrivate::closePrintDevice().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ openPrintDevice()

bool QPdfPrintEnginePrivate::openPrintDevice ( )
virtual

Reimplemented in QCupsPrintEnginePrivate.

Definition at line 324 of file qprintengine_pdf.cpp.

References file, QString::isEmpty(), QFile::open(), QPdfEnginePrivate::outDevice, QPdfEnginePrivate::outputFileName, QIODeviceBase::Truncate, and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

◆ printerColorMode()

Friends And Related Symbol Documentation

◆ QCupsPrintEngine

friend class QCupsPrintEngine
friend

Definition at line 90 of file qprintengine_pdf_p.h.

◆ QCupsPrintEnginePrivate

friend class QCupsPrintEnginePrivate
friend

Definition at line 91 of file qprintengine_pdf_p.h.


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