6#ifndef QSK_PAINTER_COMMAND_H
7#define QSK_PAINTER_COMMAND_H
12#include <qpaintengine.h>
13#include <qpainterpath.h>
42 Qt::ImageConversionFlags flags;
47 QPaintEngine::DirtyFlags flags;
52 QBrush backgroundBrush;
53 Qt::BGMode backgroundMode = Qt::TransparentMode;
57 Qt::ClipOperation clipOperation = Qt::NoClip;
59 QPainterPath clipPath;
60 bool isClipEnabled =
false;
62 QPainter::RenderHints renderHints;
63 QPainter::CompositionMode compositionMode = QPainter::CompositionMode_SourceOver;
73 const QPixmap&,
const QRectF& subRect );
76 const QImage&,
const QRectF& subRect,
77 Qt::ImageConversionFlags );
89 Type type()
const noexcept;
91 QPainterPath* path()
noexcept;
92 const QPainterPath* path()
const noexcept;
94 PixmapData* pixmapData()
noexcept;
95 const PixmapData* pixmapData()
const noexcept;
97 ImageData* imageData()
noexcept;
98 const ImageData* imageData()
const noexcept;
100 StateData* stateData()
noexcept;
101 const StateData* stateData()
const noexcept;
111 QPainterPath* m_path;
112 PixmapData* m_pixmapData;
113 ImageData* m_imageData;
114 StateData* m_stateData;
118constexpr inline QskPainterCommand::QskPainterCommand() noexcept
124inline bool QskPainterCommand::operator!=(
const QskPainterCommand& other )
const noexcept
126 return !( *
this == other );
129inline QskPainterCommand::Type QskPainterCommand::type() const noexcept
134inline const QPainterPath* QskPainterCommand::path() const noexcept
139inline const QskPainterCommand::PixmapData*
140QskPainterCommand::pixmapData() const noexcept
145inline const QskPainterCommand::ImageData*
146QskPainterCommand::imageData() const noexcept
151inline const QskPainterCommand::StateData*
152QskPainterCommand::stateData() const noexcept