42 #ifndef QPRINTENGINE_PS_P_H 43 #define QPRINTENGINE_PS_P_H 59 #include "private/qpdf_p.h" 60 #include "qplatformdefs.h" 61 #include "QtCore/qlibrary.h" 62 #include "QtCore/qstringlist.h" 63 #include "QtCore/qhash.h" 64 #include "QtCore/qabstractitemmodel.h" 109 void emitHeader(
bool finished);
112 void flushPage(
bool last =
false);
135 #endif // QT_NO_PRINTER 137 #endif // QPRINTENGINE_PS_P_H
#define QT_END_NAMESPACE
This macro expands to.
QPSPrintEngine(QPrinter::PrinterMode m)
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s)
Reimplement this function to draw the pixmap in the given rect, starting at the given p...
virtual QPrinter::PrinterState printerState() const
Returns the current state of the printer being used by the print engine.
PrinterMode
This enum describes the mode the printer should work in.
The QByteArray class provides an array of bytes.
virtual bool end()
Reimplement this function to finish painting on the current paint device.
The QPointF class defines a point in the plane using floating point precision.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QPrinter class is a paint device that paints on a printer.
virtual bool begin(QPaintDevice *pdev)
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
The QImage class provides a hardware-independent image representation that allows direct access to th...
virtual void drawImage(const QRectF &r, const QImage &img, const QRectF &sr, Qt::ImageConversionFlags)
Reimplement this function to draw the part of the image specified by the sr rectangle in the given re...
virtual void drawImageInternal(const QRectF &r, QImage img, bool bitmap)
virtual QPaintEngine::Type type() const
Reimplement this function to return the paint engine Type.
virtual bool newPage()
Instructs the print engine to start a new page.
The QRect class defines a rectangle in the plane using integer precision.
The QPixmap class is an off-screen image representation that can be used as a paint device...
QPrinter::PrinterState printerState
#define Q_DECLARE_PRIVATE(Class)
virtual Qt::HANDLE handle() const
virtual bool abort()
Instructs the print engine to abort the printing process.
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r...