- bookworm 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
QwtPainterCommand(3) | Qwt User's Guide | QwtPainterCommand(3) |
NAME¶
QwtPainterCommand
SYNOPSIS¶
#include <qwt_painter_command.h>
Classes¶
struct ImageData
Attributes how to paint a QImage. struct PixmapData
Attributes how to paint a QPixmap. struct StateData
Attributes of a state change.
Public Types¶
enum Type { Invalid = -1, Path,
Pixmap, Image, State }
Type of the paint command.
Public Member Functions¶
QwtPainterCommand ()
Construct an invalid command. QwtPainterCommand (const
QwtPainterCommand &)
QwtPainterCommand (const QPainterPath &)
Copy constructor. QwtPainterCommand (const QRectF &rect, const
QPixmap &, const QRectF &subRect)
QwtPainterCommand (const QRectF &rect, const QImage &, const
QRectF &subRect, Qt::ImageConversionFlags)
QwtPainterCommand (const QPaintEngineState &)
~QwtPainterCommand ()
Destructor. QwtPainterCommand & operator= (const
QwtPainterCommand &)
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
Detailed Description¶
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:
Member Enumeration Documentation¶
enum QwtPainterCommand::Type¶
Type of the paint command.
Enumerator
Constructor & Destructor Documentation¶
QwtPainterCommand::QwtPainterCommand (const QwtPainterCommand & other)¶
Copy constructor
Parameters:
QwtPainterCommand::QwtPainterCommand (const QRectF & rect, const QPixmap & pixmap, const QRectF & subRect)¶
Constructor for Pixmap paint operation
Parameters:
pixmap Pixmap
subRect Rectangle inside the pixmap
See also:
QwtPainterCommand::QwtPainterCommand (const QRectF & rect, const QImage & image, const QRectF & subRect, Qt::ImageConversionFlags flags)¶
Constructor for Image paint operation
Parameters:
image Image
subRect Rectangle inside the image
flags Conversion flags
See also:
QwtPainterCommand::QwtPainterCommand (const QPaintEngineState & state)¶
Constructor for State paint operation
Parameters:
Member Function Documentation¶
QwtPainterCommand::ImageData * QwtPainterCommand::imageData ()¶
Returns:
const QwtPainterCommand::ImageData * QwtPainterCommand::imageData () const [inline]¶
Returns:
QwtPainterCommand & QwtPainterCommand::operator= (const QwtPainterCommand & other)¶
Assignment operator
Parameters:
Returns:
QPainterPath * QwtPainterCommand::path ()¶
Returns:
const QPainterPath * QwtPainterCommand::path () const [inline]¶
Returns:
QwtPainterCommand::PixmapData * QwtPainterCommand::pixmapData ()¶
Returns:
const QwtPainterCommand::PixmapData * QwtPainterCommand::pixmapData () const [inline]¶
Returns:
QwtPainterCommand::StateData * QwtPainterCommand::stateData ()¶
Returns:
const QwtPainterCommand::StateData * QwtPainterCommand::stateData () const [inline]¶
Returns:
QwtPainterCommand::Type QwtPainterCommand::type () const [inline]¶
Returns:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |