7#ifndef KISREFERENCEIMAGE_H
8#define KISREFERENCEIMAGE_H
10#include <QSharedDataPointer>
15#include <kritaui_export.h>
65 qreal saturation()
const;
67 void setEmbed(
bool embed);
71 void setFilename(
const QString &filename);
72 QString filename()
const;
73 QString internalFile()
const;
75 void paint(QPainter &gc)
const override;
77 QColor getPixel(QPointF position);
79 void saveXml(QDomDocument &document, QDomElement &parentElement,
int id);
80 bool saveImage(
KoStore *store)
const;
89 QSharedDataPointer<Private>
d;
void setSaturation(TReal &r, TReal &g, TReal &b, TReal sat)
The KisReferenceImage class represents a single reference image.
QSharedDataPointer< Private > d
void paint(QPainter &painter) const override
reimplemented
virtual KoShape * cloneShape() const
creates a deep copy of the shape or shape's subtree
QVector< KisReferenceImage * > images
QVector< qreal > oldSaturations