summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-09-14 16:53:47 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-09-14 16:53:47 (GMT)
commit30b415bf8644961d3e5b108b0b7c1b1abf07f685 (patch)
tree4a3d5c3f3428971544ad46a47f74d3b9e6a58bcc /src/openvg
parent4d2936ffd9291d27d57d056794b44f872a1e13ad (diff)
parentf8cf4296e2f1174610b8e095e9d0a496392fe70a (diff)
downloadQt-30b415bf8644961d3e5b108b0b7c1b1abf07f685.zip
Qt-30b415bf8644961d3e5b108b0b7c1b1abf07f685.tar.gz
Qt-30b415bf8644961d3e5b108b0b7c1b1abf07f685.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: QGraphicsWidget update issues with ItemHasNoContents + effect Fixed missing background for regular Qt applications with MeeGo system. Fix top-left corner of rounded rects in QPaintEngineEx
Diffstat (limited to 'src/openvg')
-rw-r--r--src/openvg/qpaintengine_vg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index 1b0c5e8..3c2fd3d 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -1008,7 +1008,7 @@ VGPath QVGPaintEnginePrivate::roundedRectPath(const QRectF &rect, qreal xRadius,
x1, y2 - (1 - KAPPA) * yRadius,
x1, y2 - yRadius,
x1, y1 + yRadius, // LineTo
- x1, y1 + KAPPA * yRadius, // CurveTo
+ x1, y1 + (1 - KAPPA) * yRadius, // CurveTo
x1 + (1 - KAPPA) * xRadius, y1,
x1 + xRadius, y1
};