From: Ali Akhtarzada Date: Mon, 23 Jul 2012 12:59:51 +0000 (+0200) Subject: Added note to QTransform::isRotating X-Git-Tag: v5.0.0-beta1~596 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d110111da72f9af5c94b66d402c18355bc16fda;p=profile%2Fivi%2Fqtbase.git Added note to QTransform::isRotating Rotation of 180 or 360 is treated as a scaling transform Task-number: QTCREATORBUG-7651 Change-Id: I44077de0a4a90a87d2d9e8499c1920da1ed066c9 Reviewed-by: Samuel Rødal Reviewed-by: Casper van Donderen --- diff --git a/src/gui/painting/qtransform.cpp b/src/gui/painting/qtransform.cpp index 94f9aca..1f4b4ab 100644 --- a/src/gui/painting/qtransform.cpp +++ b/src/gui/painting/qtransform.cpp @@ -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() */