4#ifndef QPAINTENGINEEX_P_H
5#define QPAINTENGINEEX_P_H
18#include <QtGui/private/qtguiglobal_p.h>
19#include <QtGui/qpaintengine.h>
21#include <private/qpaintengine_p.h>
22#include <private/qstroker_p.h>
23#include <private/qpainter_p.h>
24#include <private/qvectorpath_p.h>
35#ifndef QT_NO_DEBUG_STREAM
70 virtual void drawRects(
const QRect *rects,
int rectCount)
override;
73 virtual void drawLines(
const QLine *lines,
int lineCount)
override;
116 IsEmulationEngine = 0x02
133 void replayClipOperations();
134 bool hasClipOperations()
const;
The QColor class provides colors based on RGB, HSV or CMYK values.
StrokeHandler * strokeHandler
QStrokerOps * activeStroker
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
Reimplement this function to draw the part of the image specified by the sr rectangle in the given re...
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
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
virtual void compositionModeChanged()=0
virtual void brushOriginChanged()=0
virtual uint flags() const
virtual void brushChanged()=0
virtual void transformChanged()=0
const QPainterState * state() const
The QPaintEngineState class provides information about the active paint engine's current state....
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 void drawRects(const QRect *rects, int rectCount)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void updateState(const QPaintEngineState &state)=0
Reimplement this function to update the state of a paint engine.
virtual void drawLines(const QLine *lines, int lineCount)
This is an overloaded member function, provided for convenience. It differs from the above function o...
PolygonDrawMode
\value OddEvenMode The polygon should be drawn using OddEven fill rule.
virtual void drawPoints(const QPointF *points, int pointCount)
Draws the first pointCount points in the buffer points.
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)=0
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
virtual void drawImage(const QRectF &r, const QImage &pm, 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...
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...
QPaintEngineState * state
virtual void drawEllipse(const QRectF &r)
Reimplement this function to draw the largest ellipse that can be contained within rectangle rect.
virtual void drawPath(const QPainterPath &path)
The default implementation ignores the path and does nothing.
This class is used in conjunction with the QPainter::drawPixmapFragments() function to specify how a ...
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfixed GLfixed GLint GLint GLfixed points
GLsizei const GLchar *const * path
QDebug Q_GUI_EXPORT & operator<<(QDebug &, const QVectorPath &path)
myFilter draw(painter, QPoint(0, 0), originalPixmap)