Name | |
---|---|
enum | Type { Invalid = -1, Path, Pixmap, Image, State} Type of the paint command. |
Name | |
---|---|
constexpr | QskPainterCommand() |
QskPainterCommand(const QskPainterCommand & other) | |
QskPainterCommand(const QPainterPath & path) | |
QskPainterCommand(const QRectF & rect, const QPixmap & pixmap, const QRectF & subRect) | |
QskPainterCommand(const QRectF & rect, const QImage & image, const QRectF & subRect, Qt::ImageConversionFlags flags) | |
QskPainterCommand(const QskPainterCommand::StateData & data) | |
QskPainterCommand(const QPaintEngineState & state) | |
~QskPainterCommand() | |
QskPainterCommand & | operator=(const QskPainterCommand & other) |
bool | operator==(const QskPainterCommand & other) const |
bool | operator!=(const QskPainterCommand & other) const |
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 |
Name | |
---|---|
QPainterPath * | m_path |
PixmapData * | m_pixmapData |
ImageData * | m_imageData |
StateData * | m_stateData |
Enumerator | Value | Description |
---|---|---|
Invalid | -1 | Invalid command. |
Path | Draw a QPainterPath. | |
Pixmap | Draw a QPixmap. | |
Image | Draw a QImage. | |
State | QPainter state change. |
Type of the paint command.
inline constexpr QskPainterCommand()
QskPainterCommand(
const QskPainterCommand & other
)
explicit QskPainterCommand(
const QPainterPath & path
)
QskPainterCommand(
const QRectF & rect,
const QPixmap & pixmap,
const QRectF & subRect
)
QskPainterCommand(
const QRectF & rect,
const QImage & image,
const QRectF & subRect,
Qt::ImageConversionFlags flags
)
explicit QskPainterCommand(
const QskPainterCommand::StateData & data
)
explicit QskPainterCommand(
const QPaintEngineState & state
)
~QskPainterCommand()
QskPainterCommand & operator=(
const QskPainterCommand & other
)
bool operator==(
const QskPainterCommand & other
) const
inline bool operator!=(
const QskPainterCommand & other
) const
inline Type type() const
Return: Type of the command
QPainterPath * path()
inline const QPainterPath * path() const
Return: Painter path to be painted
PixmapData * pixmapData()
inline const PixmapData * pixmapData() const
Return: Attributes how to paint a QPixmap
ImageData * imageData()
inline const ImageData * imageData() const
Return: Attributes how to paint a QImage
StateData * stateData()
inline const StateData * stateData() const
Return: Attributes of a state change
QPainterPath * m_path;
PixmapData * m_pixmapData;
ImageData * m_imageData;
StateData * m_stateData;
Updated on 28 July 2023 at 14:02:28 CEST