#include <qwt_painter_command.h>
QwtPainterCommand represents the attributes of a paint operation how it is used between QPainter and QPaintDevice
It is used by QwtGraphic to record and replay paint operations
- See also
- QwtGraphic::commands()
Definition at line 32 of file qwt_painter_command.h.
◆ Type
Type of the paint command.
Enumerator |
---|
Invalid | Invalid command.
|
Path | Draw a QPainterPath.
|
Pixmap | Draw a QPixmap.
|
Image | Draw a QImage.
|
State | QPainter state change.
|
Definition at line 36 of file qwt_painter_command.h.
◆ QwtPainterCommand() [1/6]
QwtPainterCommand::QwtPainterCommand |
( |
| ) |
|
◆ QwtPainterCommand() [2/6]
◆ QwtPainterCommand() [3/6]
QwtPainterCommand::QwtPainterCommand |
( |
const QPainterPath & |
path | ) |
|
|
explicit |
◆ QwtPainterCommand() [4/6]
QwtPainterCommand::QwtPainterCommand |
( |
const QRectF & |
rect, |
|
|
const QPixmap & |
pixmap, |
|
|
const QRectF & |
subRect |
|
) |
| |
Constructor for Pixmap paint operation
- Parameters
-
rect | Target rectangle |
pixmap | Pixmap |
subRect | Rectangle inside the pixmap |
- See also
- QPainter::drawPixmap()
Definition at line 34 of file qwt_painter_command.cpp.
◆ QwtPainterCommand() [5/6]
QwtPainterCommand::QwtPainterCommand |
( |
const QRectF & |
rect, |
|
|
const QImage & |
image, |
|
|
const QRectF & |
subRect, |
|
|
Qt::ImageConversionFlags |
flags |
|
) |
| |
Constructor for Image paint operation
- Parameters
-
rect | Target rectangle |
image | Image |
subRect | Rectangle inside the image |
flags | Conversion flags |
- See also
- QPainter::drawImage()
Definition at line 54 of file qwt_painter_command.cpp.
◆ QwtPainterCommand() [6/6]
QwtPainterCommand::QwtPainterCommand |
( |
const QPaintEngineState & |
state | ) |
|
|
explicit |
◆ ~QwtPainterCommand()
QwtPainterCommand::~QwtPainterCommand |
( |
| ) |
|
◆ copy()
◆ imageData() [1/2]
◆ imageData() [2/2]
const ImageData* QwtPainterCommand::imageData |
( |
| ) |
const |
◆ operator=()
Assignment operator
- Parameters
-
other | Command to be copied |
- Returns
- Modified command
Definition at line 145 of file qwt_painter_command.cpp.
◆ path() [1/2]
const QPainterPath * QwtPainterCommand::path |
( |
| ) |
|
|
inline |
◆ path() [2/2]
const QPainterPath* QwtPainterCommand::path |
( |
| ) |
const |
◆ pixmapData() [1/2]
◆ pixmapData() [2/2]
const PixmapData* QwtPainterCommand::pixmapData |
( |
| ) |
const |
◆ reset()
void QwtPainterCommand::reset |
( |
| ) |
|
|
private |
◆ stateData() [1/2]
◆ stateData() [2/2]
const StateData* QwtPainterCommand::stateData |
( |
| ) |
const |
◆ type()
◆ @26
◆ m_imageData
◆ m_path
QPainterPath* QwtPainterCommand::m_path |
◆ m_pixmapData
◆ m_stateData
◆ m_type
Type QwtPainterCommand::m_type |
|
private |
The documentation for this class was generated from the following files: