29 Q_DECLARE_PUBLIC(QQuickImageBase)
32 QQuickImageBasePrivate()
35 mirrorHorizontally(
false),
36 mirrorVertically(
false),
37 oldAutoTransform(
false),
38 retainWhileLoading(
false)
44 static QQuickImageBasePrivate *get(QQuickImageBase *image)
46 return image->d_func();
49 virtual bool updateDevicePixelRatio(qreal targetDevicePixelRatio);
51 void setStatus(QQuickImageBase::Status value);
52 void setProgress(qreal value);
55 QQuickPixmap *pendingPix =
nullptr;
56 QQuickPixmap *currentPix =
nullptr;
61 QRectF sourceClipRect;
62 QQuickImageProviderOptions providerOptions;
63 QColorSpace colorSpace;
68 qreal devicePixelRatio = 1;
69 QQuickImageBase::Status status = QQuickImageBase::Null;
73 bool mirrorHorizontally: 1;
74 bool mirrorVertically : 1;
75 bool oldAutoTransform : 1;
76 bool retainWhileLoading : 1;