summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-28 06:08:13 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-28 06:08:13 (GMT)
commit1583d643285641bf71e6a107331d788acca9850c (patch)
tree77931ed366f52860c70d7cb73a3e3fbc20ee6c11 /src
parent8bbf1907613d88e38630ec0343bb9f0d1fb6c5d0 (diff)
downloadQt-1583d643285641bf71e6a107331d788acca9850c.zip
Qt-1583d643285641bf71e6a107331d788acca9850c.tar.gz
Qt-1583d643285641bf71e6a107331d788acca9850c.tar.bz2
qdoc: Update QGraphicsTransform docs after changes to QGraphicsRotation
Reviewed-by: Michael Brasser
Diffstat (limited to 'src')
-rw-r--r--src/gui/graphicsview/qgraphicstransform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicstransform.cpp b/src/gui/graphicsview/qgraphicstransform.cpp
index 93dc196..e2a3f08 100644
--- a/src/gui/graphicsview/qgraphicstransform.cpp
+++ b/src/gui/graphicsview/qgraphicstransform.cpp
@@ -69,6 +69,9 @@
objects are applied to a QGraphicsItem, all of the transformations
are computed in true 3D space, with the projection back to 2D
only occurring after the last QGraphicsTransform is applied.
+ The exception to this is QGraphicsRotation, which projects back to
+ 2D after each rotation to preserve the perspective effect around
+ the X and Y axes.
If you want to create your own configurable transformation, you can create
a subclass of QGraphicsTransform (or any or the existing subclasses), and