From 63eb5b5a798bd4d5de57243f79fde06b17233820 Mon Sep 17 00:00:00 2001 From: Leonard Lee Date: Mon, 6 Aug 2012 14:42:00 +0200 Subject: [PATCH] Explained rectangle bounding in documentation. Task-number: QTBUG-26756 Change-Id: Ifa56cbe249164e239f21c00fc31cd6ddd81705ad Reviewed-by: Gunnar Sletta --- src/gui/painting/qpainter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 0b162d772d..2eb9167dd7 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -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