summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-08 08:07:10 (GMT)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-04-08 08:29:04 (GMT)
commit470196c06f573a93e3229735496659eb99ca5b51 (patch)
treee5caeb2878fc7f13d3c5a635454819f3a329b45d /src/gui/painting/qpainter.cpp
parent72f84ad17d0905f91e9d3988bb0f6482df6c6c78 (diff)
downloadQt-470196c06f573a93e3229735496659eb99ca5b51.zip
Qt-470196c06f573a93e3229735496659eb99ca5b51.tar.gz
Qt-470196c06f573a93e3229735496659eb99ca5b51.tar.bz2
Rename qIsFuzzyNull to qFuzzyIsNull
The function was added in fde7f3d03782c801901f511131458d6fcb1021a5 and we believe qFuzzyIsNull is a better naming and more in line with qFuzzyCompare. Reviewed-by: Lars Knoll Reviewed-by: nrc Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r--src/gui/painting/qpainter.cpp24
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;