diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-03-25 22:27:02 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-03-25 22:27:02 (GMT) |
commit | 1e8eb507a7624a1847f3da067f45d1637d47150a (patch) | |
tree | b20029e157731841b6b522ffe62f00911baa30f3 /src/openvg | |
parent | 7c36400a998b6d4cff34d7cb783f8e228a3e3621 (diff) | |
download | Qt-1e8eb507a7624a1847f3da067f45d1637d47150a.zip Qt-1e8eb507a7624a1847f3da067f45d1637d47150a.tar.gz Qt-1e8eb507a7624a1847f3da067f45d1637d47150a.tar.bz2 |
Fix another off-by-1 error in OpenVG image painting.
Off in the vertical direction this time; previously was horizontal.
Task-number: QT-2999
Reviewed-by: Jason Barron
Diffstat (limited to 'src/openvg')
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 4a97a6f..ce6e21b 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -538,7 +538,7 @@ void QVGPaintEnginePrivate::updateTransform(QPaintDevice *pdev) // adds 0.5 to each co-ordinate. QTransform viewport2(1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, - 0.0f, devh, 1.0f); + 0.0f, devh + 1, 1.0f); imageTransform = transform * viewport2; // Calculate the scaling factor to use for turning cosmetic pens |