Explained rectangle bounding in documentation.
authorLeonard Lee <leonard.lee@nokia.com>
Mon, 6 Aug 2012 12:42:00 +0000 (14:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 8 Aug 2012 12:13:53 +0000 (14:13 +0200)
Task-number: QTBUG-26756
Change-Id: Ifa56cbe249164e239f21c00fc31cd6ddd81705ad
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/gui/painting/qpainter.cpp

index 0b162d7..2eb9167 100644 (file)
@@ -5928,6 +5928,7 @@ void QPainter::drawText(const QRect &r, int flags, const QString &str, QRect *br
     \overload
 
     Draws the given \a text within the provided \a rectangle.
+    The \a rectangle along with alignment \a flags defines the anchors for the \a text.
 
     \table 100%
     \row