summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-26 04:33:04 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-26 04:36:50 (GMT)
commit09a40e13174b9f34007ce9fbd98e06b4e48c1954 (patch)
tree8f7735640e87e154d434f80130ab8812e3f4e58b /src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h
parentc2928bfdb467d7c54a97a71b6a1169db02e623fe (diff)
downloadQt-09a40e13174b9f34007ce9fbd98e06b4e48c1954.zip
Qt-09a40e13174b9f34007ce9fbd98e06b4e48c1954.tar.gz
Qt-09a40e13174b9f34007ce9fbd98e06b4e48c1954.tar.bz2
Control of image rendered size (esp. SVG).
Add Translate transform. Image::sourceWidth and Image::sourceHeight read/write properties. Task-number: QTBUG-8984
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h
index c4a61f3..cced228 100644
--- a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h
@@ -68,6 +68,7 @@ public:
QDeclarativeImageBasePrivate()
: status(QDeclarativeImageBase::Null),
progress(0.0),
+ sourcewidth(0), sourceheight(0),
pendingPixmapCache(false),
async(false)
{
@@ -78,6 +79,7 @@ public:
QDeclarativeImageBase::Status status;
QUrl url;
qreal progress;
+ int sourcewidth, sourceheight;
bool pendingPixmapCache : 1;
bool async : 1;
};