27#ifndef QWT_PAINTER_COMMAND_H
28#define QWT_PAINTER_COMMAND_H
30#include "qwt_global.h"
32#include <qpaintengine.h>
36#include <qpainterpath.h>
86 Qt::ImageConversionFlags flags;
92 QPaintEngine::DirtyFlags flags;
97 QBrush backgroundBrush;
98 Qt::BGMode backgroundMode;
100 QTransform transform;
102 Qt::ClipOperation clipOperation;
104 QPainterPath clipPath;
107 QPainter::RenderHints renderHints;
108 QPainter::CompositionMode compositionMode;
120 QwtPainterCommand(const QRectF& rect, const QImage&, const QRectF& subRect, Qt::ImageConversionFlags);
131 QPainterPath* path();
132 const QPainterPath* path() const;
150 QPainterPath* m_path;
Represents the attributes of a paint operation between QPainter and QPaintDevice
Definition qwt_painter_command.h:51
QPainterPath * path()
Definition qwt_painter_command.cpp:259
Type
Type of the paint command
Definition qwt_painter_command.h:55
@ Pixmap
Draw a QPixmap
Definition qwt_painter_command.h:63
@ Path
Draw a QPainterPath
Definition qwt_painter_command.h:60
@ Image
Draw a QImage
Definition qwt_painter_command.h:66
Type type() const
Definition qwt_painter_command.h:158
PixmapData * pixmapData()
Definition qwt_painter_command.cpp:265
ImageData * imageData()
Definition qwt_painter_command.cpp:271
StateData * stateData()
Definition qwt_painter_command.cpp:277
Attributes how to paint a QImage
Definition qwt_painter_command.h:82
Attributes how to paint a QPixmap
Definition qwt_painter_command.h:74
Attributes of a state change
Definition qwt_painter_command.h:91