QtBase
v6.3.1
|
#include <qpdf_p.h>
Friends | |
class | QPdfWriter |
Additional Inherited Members | |
Protected Member Functions inherited from QPaintEngine | |
QPaintEngine (QPaintEnginePrivate &data, PaintEngineFeatures devcaps=PaintEngineFeatures()) | |
Protected Attributes inherited from QPaintEngine | |
QPaintEngineState * | state |
PaintEngineFeatures | gccaps |
uint | active: 1 |
uint | selfDestruct: 1 |
uint | extended: 1 |
QScopedPointer< QPaintEnginePrivate > | d_ptr |
QPdfEngine::QPdfEngine | ( | QPdfEnginePrivate & | d | ) |
|
overridevirtual |
Reimplement this function to initialise your paint engine when painting is to start on the paint device pdev. Return true if the initialization was successful; otherwise return false.
Implements QPaintEngine.
Reimplemented in QPdfPrintEngine.
Definition at line 1506 of file qpdf.cpp.
QByteArray QPdfEngine::documentXmpMetadata | ( | ) | const |
|
overridevirtual |
Reimplement this function to draw the part of the image specified by the sr rectangle in the given rectangle using the given conversion flags flags, to convert it to a pixmap.
Reimplemented from QPaintEngine.
Definition at line 983 of file qpdf.cpp.
The default implementation splits the list of lines in lines into lineCount separate calls to drawPath() or drawPolygon() depending on the feature set of the paint engine.
Reimplemented from QPaintEngine.
Definition at line 830 of file qpdf.cpp.
|
overridevirtual |
The default implementation ignores the path and does nothing.
Reimplemented from QPaintEngine.
Definition at line 912 of file qpdf.cpp.
|
overridevirtual |
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
Implements QPaintEngine.
Definition at line 940 of file qpdf.cpp.
Draws the first pointCount points in the buffer points
Reimplemented from QPaintEngine.
Definition at line 812 of file qpdf.cpp.
|
overridevirtual |
Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode.
Reimplemented from QPaintEngine.
Definition at line 876 of file qpdf.cpp.
Draws the first rectCount rectangles in the buffer rects. The default implementation of this function calls drawPath() or drawPolygon() depending on the feature set of the paint engine.
Reimplemented from QPaintEngine.
Definition at line 847 of file qpdf.cpp.
This function draws the text item textItem at position p. The default implementation of this function converts the text to a QPainterPath and paints the resulting path.
Reimplemented from QPaintEngine.
Definition at line 1047 of file qpdf.cpp.
|
overridevirtual |
Reimplement this function to draw the pixmap in the given rect, starting at the given p. The pixmap will be drawn repeatedly until the rect is filled.
Reimplemented from QPaintEngine.
Definition at line 1017 of file qpdf.cpp.
|
overridevirtual |
Reimplement this function to finish painting on the current paint device. Return true if painting was finished successfully; otherwise return false.
Implements QPaintEngine.
Reimplemented in QPdfPrintEngine.
Definition at line 1561 of file qpdf.cpp.
int QPdfEngine::metric | ( | QPaintDevice::PaintDeviceMetric | metricType | ) | const |
bool QPdfEngine::newPage | ( | ) |
QPageLayout QPdfEngine::pageLayout | ( | ) | const |
int QPdfEngine::resolution | ( | ) | const |
void QPdfEngine::setBrush | ( | ) |
void QPdfEngine::setDocumentXmpMetadata | ( | const QByteArray & | xmpMetadata | ) |
void QPdfEngine::setPageLayout | ( | const QPageLayout & | pageLayout | ) |
void QPdfEngine::setPageMargins | ( | const QMarginsF & | margins, |
QPageLayout::Unit | units = QPageLayout::Point |
||
) |
void QPdfEngine::setPageOrientation | ( | QPageLayout::Orientation | orientation | ) |
void QPdfEngine::setPdfVersion | ( | PdfVersion | version | ) |
void QPdfEngine::setPen | ( | ) |
void QPdfEngine::setResolution | ( | int | resolution | ) |
void QPdfEngine::setupGraphicsState | ( | QPaintEngine::DirtyFlags | flags | ) |
|
overridevirtual |
Reimplement this function to return the paint engine \l{Type}.
Implements QPaintEngine.
|
overridevirtual |
Reimplement this function to update the state of a paint engine.
When implemented, this function is responsible for checking the paint engine's current state and update the properties that are changed. Use the QPaintEngineState::state() function to find out which properties that must be updated, then use the corresponding \l {GetFunction}{get function} to retrieve the current values for the given properties.
Implements QPaintEngine.
Definition at line 1112 of file qpdf.cpp.
|
friend |