|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Represents the attributes of a paint operation between QPainter and QPaintDevice. More...
#include <qwt_painter_command.h>
Classes | |
| struct | ImageData |
| Attributes how to paint a QImage. More... | |
| struct | PixmapData |
| Attributes how to paint a QPixmap. More... | |
| struct | StateData |
| Attributes of a state change. More... | |
Public Types | |
| enum | Type { Invalid = -1 , Path , Pixmap , Image , State } |
| Type of the paint command. More... | |
Public Member Functions | |
| QwtPainterCommand () | |
| Construct an invalid command . | |
| QwtPainterCommand (const QwtPainterCommand &) | |
| Copy constructor. | |
| QwtPainterCommand (const QPainterPath &) | |
| Construct a path command. | |
| QwtPainterCommand (const QRectF &rect, const QPixmap &, const QRectF &subRect) | |
| Constructor for Pixmap paint operation. | |
| QwtPainterCommand (const QRectF &rect, const QImage &, const QRectF &subRect, Qt::ImageConversionFlags) | |
| Constructor for Image paint operation. | |
| QwtPainterCommand (const QPaintEngineState &) | |
| Constructor for State paint operation. | |
| ~QwtPainterCommand () | |
| Destructor . | |
| QwtPainterCommand & | operator= (const QwtPainterCommand &) |
| Assignment operator. | |
| Type | type () const |
| QPainterPath * | path () |
| const QPainterPath * | path () const |
| PixmapData * | pixmapData () |
| const PixmapData * | pixmapData () const |
| ImageData * | imageData () |
| const ImageData * | imageData () const |
| StateData * | stateData () |
| const StateData * | stateData () const |
Represents the attributes of a paint operation between QPainter and QPaintDevice.
| QwtPainterCommand::QwtPainterCommand | ( | ) |
Construct an invalid command .
| QwtPainterCommand::QwtPainterCommand | ( | const QwtPainterCommand & | other | ) |
Copy constructor.
|
explicit |
Construct a path command.
| QwtPainterCommand::QwtPainterCommand | ( | const QRectF & | rect, |
| const QPixmap & | pixmap, | ||
| const QRectF & | subRect | ||
| ) |
Constructor for Pixmap paint operation.
| QwtPainterCommand::QwtPainterCommand | ( | const QRectF & | rect, |
| const QImage & | image, | ||
| const QRectF & | subRect, | ||
| Qt::ImageConversionFlags | flags | ||
| ) |
Constructor for Image paint operation.
|
explicit |
Constructor for State paint operation.
| QwtPainterCommand::~QwtPainterCommand | ( | ) |
Destructor .
| QwtPainterCommand::ImageData * QwtPainterCommand::imageData | ( | ) |
|
inline |
| QwtPainterCommand & QwtPainterCommand::operator= | ( | const QwtPainterCommand & | other | ) |
Assignment operator.
| QPainterPath * QwtPainterCommand::path | ( | ) |
|
inline |
| QwtPainterCommand::PixmapData * QwtPainterCommand::pixmapData | ( | ) |
|
inline |
| QwtPainterCommand::StateData * QwtPainterCommand::stateData | ( | ) |
|
inline |
|
inline |