From 7cd8782cb6f5c70d0c33621bf4686a01a22d4374 Mon Sep 17 00:00:00 2001 From: Leonard Lee Date: Mon, 6 Aug 2012 13:14:23 +0200 Subject: [PATCH] Explained degree unit in QPainter::rotate() function. Task-number: QTBUG-26757 Change-Id: I9a03480513819aefb78d914a7170fb4997181643 Reviewed-by: Jerome Pasion Reviewed-by: Gunnar Sletta --- src/gui/painting/qpainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 80da2e5..0b162d7 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -3134,7 +3134,7 @@ void QPainter::shear(qreal sh, qreal sv) /*! \fn void QPainter::rotate(qreal angle) - Rotates the coordinate system the given \a angle clockwise. + Rotates the coordinate system clockwise. The given \a angle parameter uses degree unit. \sa setWorldTransform(), {QPainter#Coordinate Transformations}{Coordinate Transformations} */ -- 2.7.4