summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-27 14:07:57 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-27 14:07:57 (GMT)
commit6c1bc11a0a45f1ea04e271526997ea5002bf5f86 (patch)
tree738b241a188a13702659cc083689bffe27c4c3ce /src/gui/painting
parent206adbb56bb80eab49b09bdd138e018bfe6be3dc (diff)
downloadQt-6c1bc11a0a45f1ea04e271526997ea5002bf5f86.zip
Qt-6c1bc11a0a45f1ea04e271526997ea5002bf5f86.tar.gz
Qt-6c1bc11a0a45f1ea04e271526997ea5002bf5f86.tar.bz2
Doc: Remove reference to QMatrix
As pointed out on IRC, setTransform is used most frequently in code and in an ideal world would be the only such function.
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpainter.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index 4ebfc50..9c7a7fa 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -8428,11 +8428,7 @@ qreal QPaintEngineState::opacity() const
If \a combine is true, the specified \a transform is combined with
the current matrix; otherwise it replaces the current matrix.
- This function has been added for compatibility with setMatrix(),
- but as with setMatrix() the preferred method of setting a
- transformation on the painter is through setWorldTransform().
-
- \sa transform()
+ \sa transform() setWorldTransform()
*/
void QPainter::setTransform(const QTransform &transform, bool combine )
@@ -8442,6 +8438,8 @@ void QPainter::setTransform(const QTransform &transform, bool combine )
/*!
Returns the world transformation matrix.
+
+ \sa worldTransform()
*/
const QTransform & QPainter::transform() const