QskPainterCommand

Public Types

  Name
enum Type { Invalid = -1, Path, Pixmap, Image, State}
Type of the paint command.

Public Functions

  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

Public Attributes

  Name
QPainterPath * m_path
PixmapData * m_pixmapData
ImageData * m_imageData
StateData * m_stateData

Public Types Documentation

enum Type

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.

Public Functions Documentation

function QskPainterCommand

inline constexpr QskPainterCommand()

function QskPainterCommand

QskPainterCommand(
    const QskPainterCommand & other
)

function QskPainterCommand

explicit QskPainterCommand(
    const QPainterPath & path
)

function QskPainterCommand

QskPainterCommand(
    const QRectF & rect,
    const QPixmap & pixmap,
    const QRectF & subRect
)

function QskPainterCommand

QskPainterCommand(
    const QRectF & rect,
    const QImage & image,
    const QRectF & subRect,
    Qt::ImageConversionFlags flags
)

function QskPainterCommand

explicit QskPainterCommand(
    const QskPainterCommand::StateData & data
)

function QskPainterCommand

explicit QskPainterCommand(
    const QPaintEngineState & state
)

function ~QskPainterCommand

~QskPainterCommand()

function operator=

QskPainterCommand & operator=(
    const QskPainterCommand & other
)

function operator==

bool operator==(
    const QskPainterCommand & other
) const

function operator!=

inline bool operator!=(
    const QskPainterCommand & other
) const

function type

inline Type type() const

Return: Type of the command

function path

QPainterPath * path()

function path

inline const QPainterPath * path() const

Return: Painter path to be painted

function pixmapData

PixmapData * pixmapData()

function pixmapData

inline const PixmapData * pixmapData() const

Return: Attributes how to paint a QPixmap

function imageData

ImageData * imageData()

function imageData

inline const ImageData * imageData() const

Return: Attributes how to paint a QImage

function stateData

StateData * stateData()

function stateData

inline const StateData * stateData() const

Return: Attributes of a state change

Public Attributes Documentation

variable m_path

QPainterPath * m_path;

variable m_pixmapData

PixmapData * m_pixmapData;

variable m_imageData

ImageData * m_imageData;

variable m_stateData

StateData * m_stateData;

Updated on 28 July 2023 at 14:02:28 CEST