From d60916a4a9281ed1ce2fa5f360d512094b2548a6 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 1 Feb 2010 16:09:36 +0100 Subject: Clarify comment in QPainter We support affine transformations in the drawStaticTextItem() backends, but for non-affine transformation, the fallback will be taken. --- src/gui/painting/qpainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::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()) -- cgit v0.12