diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-09-14 05:28:14 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-09-14 05:38:20 (GMT) |
commit | e74d609b93f3480c239c4921c1683b3944aff44f (patch) | |
tree | f1ab883d4cc5ead47b1baf9e15913f4ae7025847 /src/gui/painting/qpaintengineex.cpp | |
parent | f4dc906af870b2ed0d1446bb223e70db31791e8b (diff) | |
download | Qt-e74d609b93f3480c239c4921c1683b3944aff44f.zip Qt-e74d609b93f3480c239c4921c1683b3944aff44f.tar.gz Qt-e74d609b93f3480c239c4921c1683b3944aff44f.tar.bz2 |
Fix top-left corner of rounded rects in QPaintEngineEx
Reviewed-by: Rhys Weatherley
Diffstat (limited to 'src/gui/painting/qpaintengineex.cpp')
-rw-r--r-- | src/gui/painting/qpaintengineex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp index 881bd6e..1e857e4 100644 --- a/src/gui/painting/qpaintengineex.cpp +++ b/src/gui/painting/qpaintengineex.cpp @@ -768,7 +768,7 @@ void QPaintEngineEx::drawRoundedRect(const QRectF &rect, qreal xRadius, qreal yR 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 }; |