40 #ifndef QPAINTENGINEEX_P_H
41 #define QPAINTENGINEEX_P_H
54 #include <QtGui/private/qtguiglobal_p.h>
55 #include <QtGui/qpaintengine.h>
57 #include <private/qpaintengine_p.h>
58 #include <private/qstroker_p.h>
59 #include <private/qpainter_p.h>
60 #include <private/qvectorpath_p.h>
71 #ifndef QT_NO_DEBUG_STREAM
106 virtual void drawRects(
const QRect *rects,
int rectCount)
override;
109 virtual void drawLines(
const QLine *lines,
int lineCount)
override;
152 IsEmulationEngine = 0x02
169 void replayClipOperations();
170 bool hasClipOperations()
const;
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QColor class provides colors based on RGB, HSV or CMYK values.
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QLineF class provides a two-dimensional vector using floating point precision.
The QLine class provides a two-dimensional vector using integer precision.
virtual void renderHintsChanged()=0
virtual void penChanged()=0
virtual void beginNativePainting()
virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags=Qt::AutoColor) override=0
virtual void clip(const QVectorPath &path, Qt::ClipOperation op)=0
virtual void clipEnabledChanged()=0
virtual void endNativePainting()
virtual void fill(const QVectorPath &path, const QBrush &brush)=0
virtual void opacityChanged()=0
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) override=0
virtual void compositionModeChanged()=0
virtual void brushOriginChanged()=0
virtual uint flags() const
virtual void brushChanged()=0
virtual void transformChanged()=0
const QPainterState * state() const
StrokeHandler * strokeHandler
QStrokerOps * activeStroker
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s)
virtual void drawRects(const QRect *rects, int rectCount)
virtual void updateState(const QPaintEngineState &state)=0
virtual void drawLines(const QLine *lines, int lineCount)
virtual void drawPoints(const QPointF *points, int pointCount)
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags=Qt::AutoColor)
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)
QPaintEngineState * state
virtual void drawEllipse(const QRectF &r)
virtual void drawPath(const QPainterPath &path)
The QPaintEngineState class provides information about the active paint engine's current state....
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a ...
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
The QPen class defines how a QPainter should draw lines and outlines of shapes.
The QPixmap class is an off-screen image representation that can be used as a paint device.
The QPointF class defines a point in the plane using floating point precision.
The QPoint class defines a point in the plane using integer precision.
The QRectF class defines a finite rectangle in the plane using floating point precision.
The QRect class defines a rectangle in the plane using integer precision.
The QRegion class specifies a clip region for a painter.
QRectF fillRect(QRect rect, int background)
set set set set set set set macro pixldst1 op
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfixed GLfixed GLint GLint GLfixed points
GLsizei const GLchar *const * path
myFilter draw(painter, QPoint(0, 0), originalPixmap)