Doc: Specify QTextOption behavior in drawText

Be more specific about overriding behavior when using
the drawText overload that takes a QTextOption argument.

Fixes: QTBUG-41894
Pick-to: 5.15
Change-Id: I8b38cb383005f1a07f4c6d70050e0d2cbb551521
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
bb10
Paul Wicking 2020-05-12 07:52:10 +02:00
parent 848b224df2
commit 565c2e8cf9
1 changed files with 2 additions and 1 deletions

View File

@ -5871,7 +5871,8 @@ void QPainter::drawText(const QRectF &r, int flags, const QString &str, QRectF *
\overload
Draws the given \a text in the \a rectangle specified using the \a option
to control its positioning and orientation.
to control its positioning, direction, and orientation. The options given
in \a option override those set on the QPainter object itself.
By default, QPainter draws text anti-aliased.