qpa: incorrect rendering when stretching and clipping
authorJulien <jbrianceau@nds.com>
Thu, 30 Aug 2012 07:21:01 +0000 (09:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Sep 2012 06:37:50 +0000 (08:37 +0200)
commita36efc37a1941a4b4cb239fa2ca0bc12ab7569ec
treee2cfe2fe7c01dec88e616120d4defc50e167b8c0
parentec57b20b65a3c5fa6fa0b225f4b52cfebf053194
qpa: incorrect rendering when stretching and clipping

When using QBlittable with SourceOverScaledPixmapCapability, rendering
through clipAndDrawPixmap is incorrect when stretching: source pixmap
rectangle has to be corrected using scaling factor.

Change-Id: I7026987f5c47094a4578c0da4ccb67a0241d64bd
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Julien BRIANCEAU <jbrianceau@nds.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/painting/qpaintengine_blitter.cpp