diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-12-23 05:10:15 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-12-23 05:10:15 (GMT) |
commit | 61f214e60a074cbaf2413b2c77ed5a4cfd638edb (patch) | |
tree | e92442160ea6df2cbae30621c1727b9a689675bc /src/plugins/imageformats/jpeg/qjpeghandler.h | |
parent | 762496dba277f31e55a216c9761a51bf306adec0 (diff) | |
download | Qt-61f214e60a074cbaf2413b2c77ed5a4cfd638edb.zip Qt-61f214e60a074cbaf2413b2c77ed5a4cfd638edb.tar.gz Qt-61f214e60a074cbaf2413b2c77ed5a4cfd638edb.tar.bz2 |
Implement ScaledClipRect in the jpeg image plugin
Where possible, we convert the post-scale clip rectangle into a
pre-scale clip rectangle because it is more efficient to clip first.
Task-number: QT-2023
Reviewed-by: Sarah Smith
Reviewed-by: Daniel Pope
Diffstat (limited to 'src/plugins/imageformats/jpeg/qjpeghandler.h')
-rw-r--r-- | src/plugins/imageformats/jpeg/qjpeghandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/imageformats/jpeg/qjpeghandler.h b/src/plugins/imageformats/jpeg/qjpeghandler.h index 108b131..6870cd6 100644 --- a/src/plugins/imageformats/jpeg/qjpeghandler.h +++ b/src/plugins/imageformats/jpeg/qjpeghandler.h @@ -68,6 +68,7 @@ public: private: int quality; QSize scaledSize; + QRect scaledClipRect; QRect clipRect; }; |