Definition at line 37 of file KisReferenceImage.cpp.
◆ loadFromFile()
| bool KisReferenceImage::Private::loadFromFile |
( |
| ) |
|
|
inline |
Definition at line 53 of file KisReferenceImage.cpp.
53 {
57 {
59 reader.setDecideFormatFromContent(true);
60 image = reader.read();
61
63 reader.setAutoDetectImageFormat(true);
64 image = reader.read();
65 }
66
67 }
68
71 }
72
77 }
79 }
80
81
82
83
84 image.convertToColorSpace(QColorSpace(QColorSpace::SRgb));
85
86 return (!
image.isNull());
87 }
bool openPath(const QString &path, OpenFlags flags=None)
openPath Open a Path
QImage convertToQImage(qint32 x1, qint32 y1, qint32 width, qint32 height, const KoColorProfile *profile)
QRect bounds() const override
static KisPart * instance()
void removeDocument(KisDocument *document, bool deleteDocument=true)
KisDocument * createTemporaryDocument() const
#define KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE(cond, val)
References KisImage::bounds(), KisImage::convertToQImage(), KisPart::createTemporaryDocument(), KisDocument::DontAddToRecent, externalFilename, KisDocument::image, image, KisPart::instance(), KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE, KisDocument::openPath(), and KisPart::removeDocument().
◆ loadFromQImage()
| bool KisReferenceImage::Private::loadFromQImage |
( |
const QImage & | img | ) |
|
|
inline |
◆ updateCache()
| void KisReferenceImage::Private::updateCache |
( |
| ) |
|
|
inline |
◆ cachedImage
| QImage KisReferenceImage::Private::cachedImage |
◆ embed
| bool KisReferenceImage::Private::embed {true} |
◆ externalFilename
| QString KisReferenceImage::Private::externalFilename |
◆ id
| int KisReferenceImage::Private::id {-1} |
◆ image
| QImage KisReferenceImage::Private::image |
◆ internalFilename
| QString KisReferenceImage::Private::internalFilename |
◆ mipmap
◆ saturation
| qreal KisReferenceImage::Private::saturation {1.0} |
The documentation for this struct was generated from the following file: