42 #ifndef QPAINTENGINE_PIC_P_H 43 #define QPAINTENGINE_PIC_P_H 57 #include "QtGui/qpaintengine.h" 94 #ifdef Q_NO_USING_KEYWORD 120 #endif // QT_NO_PICTURE 122 #endif // QPAINTENGINE_PIC_P_H void updateState(const QPaintEngineState &state)
Reimplement this function to update the state of a paint engine.
void updateOpacity(qreal opacity)
#define QT_END_NAMESPACE
This macro expands to.
CompositionMode
Defines the modes supported for digital image compositing.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
Type type() const
Reimplement this function to return the paint engine Type.
QPaintEngineState * state
void updateBackground(Qt::BGMode bgmode, const QBrush &bgBrush)
void drawImage(const QRectF &r, const QImage &image, const QRectF &sr, Qt::ImageConversionFlags flags=Qt::AutoColor)
Reimplement this function to draw the part of the image specified by the sr rectangle in the given re...
The QPointF class defines a point in the plane using floating point precision.
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...
void updateBrush(const QBrush &brush)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QBuffer class provides a QIODevice interface for a QByteArray.
The QPen class defines how a QPainter should draw lines and outlines of shapes.
void updatePen(const QPen &pen)
void updateFont(const QFont &font)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
void updateClipEnabled(bool enabled)
void drawPolygon(const QPointF *points, int numPoints, PolygonDrawMode mode)
Reimplement this virtual function to draw the polygon defined by the pointCount first points in point...
The QImage class provides a hardware-independent image representation that allows direct access to th...
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)
Reimplement this virtual function to draw the polygon defined by the pointCount first points in point...
The QRegion class specifies a clip region for a painter.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
void drawTextItem(const QPointF &p, const QTextItem &ti)
This function draws the text item textItem at position p.
void updateMatrix(const QTransform &matrix)
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...
The QBrush class defines the fill pattern of shapes drawn by QPainter.
void updateCompositionMode(QPainter::CompositionMode cmode)
The QFont class specifies a font used for drawing text.
The QPoint class defines a point in the plane using integer precision.
void updateClipRegion(const QRegion ®ion, Qt::ClipOperation op)
The QPixmap class is an off-screen image representation that can be used as a paint device...
void drawPath(const QPainterPath &path)
The default implementation ignores the path and does nothing.
The QPaintEngineState class provides information about the active paint engine's current state...
#define Q_DECLARE_PRIVATE(Class)
void updateClipPath(const QPainterPath &path, Qt::ClipOperation op)
void updateBrushOrigin(const QPointF &origin)
The QTextItem class provides all the information required to draw text in a custom paint engine...
void drawEllipse(const QRectF &rect)
Reimplement this function to draw the largest ellipse that can be contained within rectangle rect...
bool begin(QPaintDevice *pdev)
Reimplement this function to initialise your paint engine when painting is to start on the paint devi...
bool end()
Reimplement this function to finish painting on the current paint device.
void updateRenderHints(QPainter::RenderHints hints)
void writeCmdLength(int pos, const QRectF &r, bool corr)