diff options
author | Simon A. Eugster <simon.eu@gmail.com> | 2012-06-11 09:45:01 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 20:20:45 +0200 |
commit | 03bb0b0fa050494570f4f9141356f8d3f06dfbf9 (patch) | |
tree | 5b026e68c53c7e6433a62a7933c49a3dae19fda0 /src/gui | |
parent | db297113d0d5f4197916a318b730d93ea2f39558 (diff) |
Mention setFont() in QPainter::drawText() functions
Change-Id: Id0d06d27f3aeb6a6e7e1a415da78591ae5eae91c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/painting/qpainter.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 6c361bfbca..80da2e530c 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -5663,6 +5663,8 @@ void QPainterPrivate::drawGlyphs(const quint32 *glyphArray, QFixedPoint *positio By default, QPainter draws text anti-aliased. \note The y-position is used as the baseline of the font. + + \sa setFont(), setPen() */ void QPainter::drawText(const QPointF &p, const QString &str) @@ -5918,6 +5920,7 @@ void QPainter::drawText(const QRect &r, int flags, const QString &str, QRect *br \note The y-position is used as the baseline of the font. + \sa setFont(), setPen() */ /*! @@ -5990,6 +5993,8 @@ void QPainter::drawText(const QRectF &r, int flags, const QString &str, QRectF * By default, QPainter draws text anti-aliased. \note The y-coordinate of \a rectangle is used as the top of the font. + + \sa setFont(), setPen() */ /*! @@ -6004,6 +6009,7 @@ void QPainter::drawText(const QRectF &r, int flags, const QString &str, QRectF * \note The y-position is used as the baseline of the font. + \sa setFont(), setPen() */ /*! @@ -6038,7 +6044,7 @@ void QPainter::drawText(const QRectF &r, int flags, const QString &str, QRectF * \note The y-position is used as the top of the font. - \sa Qt::AlignmentFlag, Qt::TextFlag + \sa Qt::AlignmentFlag, Qt::TextFlag, setFont(), setPen() */ /*! @@ -6052,6 +6058,8 @@ void QPainter::drawText(const QRectF &r, int flags, const QString &str, QRectF * By default, QPainter draws text anti-aliased. \note The y-coordinate of \a rectangle is used as the top of the font. + + \sa setFont(), setPen() */ void QPainter::drawText(const QRectF &r, const QString &text, const QTextOption &o) { |