31 void paint(QPainter &painter);
56 bool coordIsClear(
const QPointF& coord,
bool preview);
65 void paint(QPainter &painter,
bool preview);
66 void paintStroke(QPainter &painter,
bool preview);
68 QTransform maskToViewTransform(qreal viewSize);
69 QTransform viewToMaskTransform(qreal viewSize);
71 QString title()
const;
72 void setTitle(QString title);
74 QString description()
const;
75 void setDescription(QString description);
80 void setRotation(
int rotation);
QSharedPointer< KoGamutMask > KoGamutMaskSP
bool coordIsClear(const QPointF &coord) const
void paintStroke(QPainter &painter)
void paint(QPainter &painter)
The resource type for gamut masks used by the artistic color selector.
QPair< QString, QString > resourceType() const override
KoGamutMask & operator=(const KoGamutMask &rhs)=delete
bool loadFromDevice(QIODevice *)
virtual KoResourceSP clone() const =0
virtual QString defaultFileExtension() const
virtual bool saveToDevice(QIODevice *dev) const