diff options
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 7aab25c..92160f9 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -618,22 +618,22 @@ void QRasterPaintEngine::updateMatrix(const QTransform &matrix) d->isPlain45DegreeRotation = false; if (txop >= QTransform::TxRotate) { d->isPlain45DegreeRotation = - (qIsFuzzyNull(matrix.m11()) - && qIsFuzzyNull(matrix.m12() - qreal(1)) - && qIsFuzzyNull(matrix.m21() + qreal(1)) - && qIsFuzzyNull(matrix.m22()) + (qFuzzyIsNull(matrix.m11()) + && qFuzzyIsNull(matrix.m12() - qreal(1)) + && qFuzzyIsNull(matrix.m21() + qreal(1)) + && qFuzzyIsNull(matrix.m22()) ) || - (qIsFuzzyNull(matrix.m11() + qreal(1)) - && qIsFuzzyNull(matrix.m12()) - && qIsFuzzyNull(matrix.m21()) - && qIsFuzzyNull(matrix.m22() + qreal(1)) + (qFuzzyIsNull(matrix.m11() + qreal(1)) + && qFuzzyIsNull(matrix.m12()) + && qFuzzyIsNull(matrix.m21()) + && qFuzzyIsNull(matrix.m22() + qreal(1)) ) || - (qIsFuzzyNull(matrix.m11()) - && qIsFuzzyNull(matrix.m12() + qreal(1)) - && qIsFuzzyNull(matrix.m21() - qreal(1)) - && qIsFuzzyNull(matrix.m22()) + (qFuzzyIsNull(matrix.m11()) + && qFuzzyIsNull(matrix.m12() + qreal(1)) + && qFuzzyIsNull(matrix.m21() - qreal(1)) + && qFuzzyIsNull(matrix.m22()) ) ; } |