diff options
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r-- | src/gui/painting/qpainter.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index d4271ae..133520e 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -6055,22 +6055,22 @@ void QPainter::drawTextItem(const QPointF &p, const QTextItem &_ti) const QTransform &m = d->state->matrix; if (d->state->matrix.type() < QTransform::TxShear) { bool isPlain90DegreeRotation = - (qIsFuzzyNull(m.m11()) - && qIsFuzzyNull(m.m12() - qreal(1)) - && qIsFuzzyNull(m.m21() + qreal(1)) - && qIsFuzzyNull(m.m22()) + (qFuzzyIsNull(m.m11()) + && qFuzzyIsNull(m.m12() - qreal(1)) + && qFuzzyIsNull(m.m21() + qreal(1)) + && qFuzzyIsNull(m.m22()) ) || - (qIsFuzzyNull(m.m11() + qreal(1)) - && qIsFuzzyNull(m.m12()) - && qIsFuzzyNull(m.m21()) - && qIsFuzzyNull(m.m22() + qreal(1)) + (qFuzzyIsNull(m.m11() + qreal(1)) + && qFuzzyIsNull(m.m12()) + && qFuzzyIsNull(m.m21()) + && qFuzzyIsNull(m.m22() + qreal(1)) ) || - (qIsFuzzyNull(m.m11()) - && qIsFuzzyNull(m.m12() + qreal(1)) - && qIsFuzzyNull(m.m21() - qreal(1)) - && qIsFuzzyNull(m.m22()) + (qFuzzyIsNull(m.m11()) + && qFuzzyIsNull(m.m12() + qreal(1)) + && qFuzzyIsNull(m.m21() - qreal(1)) + && qFuzzyIsNull(m.m22()) ) ; aa = !isPlain90DegreeRotation; |