summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-01 15:09:36 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-01 15:09:36 (GMT)
commitd60916a4a9281ed1ce2fa5f360d512094b2548a6 (patch)
tree2c810c3e66e6e0f6f585bdf5caab1c33e58b1e48
parent4012ff8d08e5d6be738db88eda30dbe20d45c58a (diff)
downloadQt-d60916a4a9281ed1ce2fa5f360d512094b2548a6.zip
Qt-d60916a4a9281ed1ce2fa5f360d512094b2548a6.tar.gz
Qt-d60916a4a9281ed1ce2fa5f360d512094b2548a6.tar.bz2
Clarify comment in QPainter
We support affine transformations in the drawStaticTextItem() backends, but for non-affine transformation, the fallback will be taken.
-rw-r--r--src/gui/painting/qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index c29cf5d..4f675ae 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -5740,7 +5740,7 @@ void QPainter::drawStaticText(const QPointF &position, const QStaticText &static
QStaticTextPrivate *staticText_d =
const_cast<QStaticTextPrivate *>(QStaticTextPrivate::get(&staticText));
- // If we don't have an extended paint engine, or if the painter is transformed,
+ // If we don't have an extended paint engine, or if the painter is projected,
// we go through standard code path
if (d->extended == 0 || !d->state->matrix.isAffine()) {
if (staticText_d->size.isValid())