diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 22:43:12 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 22:43:12 (GMT) |
commit | 99ecf471075088eba042575772196e63cab5b8f8 (patch) | |
tree | d0337258c77b431d1010320fe5640a24bd5b47e1 /src/gui/painting | |
parent | 965639a06e624534f4ad8e869fea7b2df33a657d (diff) | |
download | Qt-99ecf471075088eba042575772196e63cab5b8f8.zip Qt-99ecf471075088eba042575772196e63cab5b8f8.tar.gz Qt-99ecf471075088eba042575772196e63cab5b8f8.tar.bz2 |
Doc: Replace QMatrix with QTransform and respective functions in various places.
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qmatrix.cpp | 7 | ||||
-rw-r--r-- | src/gui/painting/qpainter.cpp | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/painting/qmatrix.cpp b/src/gui/painting/qmatrix.cpp index 221267f..bc08235 100644 --- a/src/gui/painting/qmatrix.cpp +++ b/src/gui/painting/qmatrix.cpp @@ -60,6 +60,9 @@ QT_BEGIN_NAMESPACE A matrix specifies how to translate, scale, shear or rotate the coordinate system, and is typically used when rendering graphics. + QMatrix, in contrast to QTransform, does not allow perspective + transformations. QTransform is the recommended transformation + class in Qt. A QMatrix object can be built using the setMatrix(), scale(), rotate(), translate() and shear() functions. Alternatively, it @@ -172,8 +175,8 @@ QT_BEGIN_NAMESPACE \snippet doc/src/snippets/matrix/matrix.cpp 2 \endtable - \sa QPainter, {The Coordinate System}, {demos/affine}{Affine - Transformations Demo}, {Transformations Example} + \sa QPainter, QTransform, {The Coordinate System}, + {demos/affine}{Affine Transformations Demo}, {Transformations Example} */ diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 0460071..4c10a5a 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -1016,7 +1016,7 @@ void QPainterPrivate::updateState(QPainterState *newState) \o layoutDirection() defines the layout direction used by the painter when drawing text. - \o matrixEnabled() tells whether world transformation is enabled. + \o worldMatrixEnabled() tells whether world transformation is enabled. \o viewTransformEnabled() tells whether view transformation is enabled. |