1854 #ifdef QPAINTBUFFER_DEBUG_DRAW 1858 xengine->brushOriginChanged();
1863 #ifdef QPAINTBUFFER_DEBUG_DRAW
1864 qDebug() <<
" -> ExCmd_SetCompositionMode, mode: " << mode;
1866 xengine->state()->composition_mode = mode;
1867 xengine->compositionModeChanged();
1871 #ifdef QPAINTBUFFER_DEBUG_DRAW 1875 xengine->opacityChanged();
1879 #ifdef QPAINTBUFFER_DEBUG_DRAW 1880 qDebug() <<
" -> ExCmd_DrawVectorPath: size: " << cmd.
size 1885 xengine->draw(path());
1890 #ifdef QPAINTBUFFER_DEBUG_DRAW 1891 qDebug() <<
" -> ExCmd_StrokeVectorPath: size: " << cmd.
size 1896 xengine->stroke(path(), pen);
1901 #ifdef QPAINTBUFFER_DEBUG_DRAW 1902 qDebug() <<
" -> ExCmd_FillVectorPath: size: " << cmd.
size 1907 xengine->fill(path(), brush);
1913 #ifdef QPAINTBUFFER_DEBUG_DRAW 1914 qDebug() <<
" -> ExCmd_FillRectBrush, offset: " << cmd.
offset <<
" rect: " << *rect <<
" brush: " << brush;
1916 xengine->fillRect(*rect, brush);
1922 #ifdef QPAINTBUFFER_DEBUG_DRAW 1923 qDebug() <<
" -> ExCmd_FillRectBrush, offset: " << cmd.
offset <<
" rect: " << *rect <<
" color: " << color;
1925 xengine->fillRect(*rect, color);
1929 #ifdef QPAINTBUFFER_DEBUG_DRAW 1930 qDebug() <<
" -> ExCmd_DrawPolygonF, offset: " << cmd.
offset <<
" size: " << cmd.
size 1931 <<
" mode: " << cmd.
extra 1940 #ifdef QPAINTBUFFER_DEBUG_DRAW 1941 qDebug() <<
" -> ExCmd_DrawPolygonI, offset: " << cmd.
offset <<
" size: " << cmd.
size 1942 <<
" mode: " << cmd.
extra 1951 #ifdef QPAINTBUFFER_DEBUG_DRAW 1952 qDebug() <<
" -> ExCmd_DrawEllipseF, offset: " << cmd.
offset;
1958 #ifdef QPAINTBUFFER_DEBUG_DRAW 1959 qDebug() <<
" -> ExCmd_DrawEllipseI, offset: " << cmd.
offset;
1965 #ifdef QPAINTBUFFER_DEBUG_DRAW 1966 qDebug() <<
" -> ExCmd_DrawLineF, offset: " << cmd.
offset <<
" size: " << cmd.
size;
1972 #ifdef QPAINTBUFFER_DEBUG_DRAW 1973 qDebug() <<
" -> ExCmd_DrawLineI, offset: " << cmd.
offset <<
" size: " << cmd.
size;
1979 #ifdef QPAINTBUFFER_DEBUG_DRAW 1980 qDebug() <<
" -> ExCmd_DrawPointsF, offset: " << cmd.
offset <<
" size: " << cmd.
size;
1986 #ifdef QPAINTBUFFER_DEBUG_DRAW 1987 qDebug() <<
" -> ExCmd_DrawPointsI, offset: " << cmd.
offset <<
" size: " << cmd.
size;
1993 #ifdef QPAINTBUFFER_DEBUG_DRAW 1994 qDebug() <<
" -> ExCmd_DrawPolylineF, offset: " << cmd.
offset <<
" size: " << cmd.
size;
2000 #ifdef QPAINTBUFFER_DEBUG_DRAW 2001 qDebug() <<
" -> ExCmd_DrawPolylineI, offset: " << cmd.
offset <<
" size: " << cmd.
size;
2007 #ifdef QPAINTBUFFER_DEBUG_DRAW 2008 qDebug() <<
" -> ExCmd_DrawRectF, offset: " << cmd.
offset <<
" size: " << cmd.
size;
2014 #ifdef QPAINTBUFFER_DEBUG_DRAW 2015 qDebug() <<
" -> ExCmd_DrawRectI, offset: " << cmd.
offset <<
" size: " << cmd.
size;
2022 #ifdef QPAINTBUFFER_DEBUG_DRAW 2023 qDebug() <<
" -> ExCmd_SetClipEnabled:" << clipEnabled;
2025 xengine->state()->clipEnabled = clipEnabled;
2026 xengine->clipEnabledChanged();
2031 #ifdef QPAINTBUFFER_DEBUG_DRAW 2032 qDebug() <<
" -> ExCmd_ClipVectorPath:" << path().elementCount();
2041 #ifdef QPAINTBUFFER_DEBUG_DRAW 2042 qDebug() <<
" -> ExCmd_ClipRect:" << rect << cmd.
extra;
2049 #ifdef QPAINTBUFFER_DEBUG_DRAW 2050 qDebug() <<
" -> ExCmd_ClipRegion:" << region.boundingRect() << cmd.
extra;
The QColor class provides colors based on RGB, HSV or CMYK values.
QPointF toPointF() const
Returns the variant as a QPointF if the variant has type() Point or PointF ; otherwise returns a null...
CompositionMode
Defines the modes supported for digital image compositing.
The QLine class provides a two-dimensional vector using integer precision.
virtual void process(const QPaintBufferCommand &cmd)
The QPointF class defines a point in the plane using floating point precision.
bool toBool() const
Returns the variant as a bool if the variant has type() Bool.
bool isExtended() const
Returns true if the paint engine is a QPaintEngineEx derivative.
The QPen class defines how a QPainter should draw lines and outlines of shapes.
The QLineF class provides a two-dimensional vector using floating point precision.
Q_CORE_EXPORT void qDebug(const char *,...)
The QRectF class defines a rectangle in the plane using floating point precision. ...
QPaintEngine * paintEngine() const
Returns the paint engine that the painter is currently operating on if the painter is active; otherwi...
The QRegion class specifies a clip region for a painter.
const T & at(int i) const
Returns the item at index position i in the vector.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
T qvariant_cast(const QVariant &)
double toDouble(bool *ok=0) const
Returns the variant as a double if the variant has type() Double , QMetaType::Float ...
const T * constData() const
Returns a const pointer to the data stored in the vector.
T value() const
Returns the stored value converted to the template type T.
QVector< QVariant > variants