Added note to QTransform::isRotating
authorAli Akhtarzada <ali.akhtarzada@nokia.com>
Mon, 23 Jul 2012 12:59:51 +0000 (14:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Jul 2012 17:32:41 +0000 (19:32 +0200)
Rotation of 180 or 360 is treated as a scaling transform

Task-number: QTCREATORBUG-7651

Change-Id: I44077de0a4a90a87d2d9e8499c1920da1ed066c9
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/gui/painting/qtransform.cpp

index 94f9aca..1f4b4ab 100644 (file)
@@ -2249,6 +2249,8 @@ QTransform::operator QVariant() const
     Returns true if the matrix represents some kind of a
     rotating transformation, otherwise returns false.
 
+    \note A rotation transformation of 180 degrees and/or 360 degrees is treated as a scaling transformation.
+
     \sa reset()
 */