Definition at line 38 of file KisReferenceImage.cpp.
◆ loadFromFile()
| bool KisReferenceImage::Private::loadFromFile |
( |
| ) |
|
|
inline |
Definition at line 54 of file KisReferenceImage.cpp.
54 {
58 {
60 reader.setDecideFormatFromContent(true);
61 image = reader.read();
62
64 reader.setAutoDetectImageFormat(true);
65 image = reader.read();
66 }
67
68 }
69
72 }
73
78 }
80 }
81
82
83
84
85 image.convertToColorSpace(QColorSpace(QColorSpace::SRgb));
86
87 return (!
image.isNull());
88 }
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: