summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-13 14:51:53 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-13 15:33:38 (GMT)
commit8e709c4a3b8c1b843a662111e23076f8a02b2735 (patch)
tree4032749403a0f2e1d69adcff847d0321358e1623 /src/gui
parent4b73217ceea55cb77eee550e039f8ec7ad566d80 (diff)
downloadQt-8e709c4a3b8c1b843a662111e23076f8a02b2735.zip
Qt-8e709c4a3b8c1b843a662111e23076f8a02b2735.tar.gz
Qt-8e709c4a3b8c1b843a662111e23076f8a02b2735.tar.bz2
Fixed handling of brush origin in the OpenGL paint engines.
Fixed the OpenGL paint engines so that the brush origin is applied correctly and for all brushes just like in the raster paint engine. Task-number: QTBUG-2676 Reviewed-by: Trond
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpainter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index f271af9..155eefe 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -2051,8 +2051,7 @@ QPoint QPainter::brushOrigin() const
Sets the brush origin to \a position.
The brush origin specifies the (0, 0) coordinate of the painter's
- brush. This setting only applies to pattern brushes and pixmap
- brushes.
+ brush.
Note that while the brushOrigin() was necessary to adopt the
parent's background for a widget in Qt 3, this is no longer the