summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-05-11 11:47:46 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-05-11 11:47:46 (GMT)
commit38809e24a48f6c4b148cd730a8d5d52a7525e5bd (patch)
treecdb99c093f737d5544051d779218f90b6298082a /src/gui/painting/qpainter.cpp
parent48257d751a76699e548e59b76fc79303ef328375 (diff)
parent92c5c75a9840853fad4f30235f9bf86dc7133fc4 (diff)
downloadQt-38809e24a48f6c4b148cd730a8d5d52a7525e5bd.zip
Qt-38809e24a48f6c4b148cd730a8d5d52a7525e5bd.tar.gz
Qt-38809e24a48f6c4b148cd730a8d5d52a7525e5bd.tar.bz2
Merge branch '4.5'
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r--src/gui/painting/qpainter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index a5cfbbd..4744f14 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -7159,14 +7159,14 @@ QPoint QPainter::xFormDev(const QPoint &p) const
\fn QRect QPainter::xFormDev(const QRect &rectangle) const
\overload
- Use combineMatrix() combined with QMatrix::inverted() instead.
+ Use mapRect() combined with QMatrix::inverted() instead.
\oldcode
QPainter painter(this);
QRect transformed = painter.xFormDev(rectangle);
\newcode
QPainter painter(this);
- QRect transformed = rectangle * painter.combinedMatrix().inverted();
+ QRect transformed = painter.combinedMatrix().inverted(rectangle);
\endcode
*/