Remove code with no consquence

Change-Id: Ic048be26cd4ffe1094e4badd34a0df233aa9b5d5
Reviewed-on: http://codereview.qt.nokia.com/832
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
Gunnar Sletta 2011-06-28 14:02:37 +02:00 committed by Qt by Nokia
parent a40d74e554
commit 73df041f6c
2 changed files with 0 additions and 35 deletions

View File

@ -483,10 +483,6 @@ bool QRasterPaintEngine::begin(QPaintDevice *device)
}
#endif
#if defined(Q_WS_WIN)
d->isPlain45DegreeRotation = true;
#endif
if (d->mono_surface)
d->glyphCacheType = QFontEngineGlyphCache::Raster_Mono;
#if defined(Q_WS_WIN)
@ -590,33 +586,6 @@ void QRasterPaintEngine::updateMatrix(const QTransform &matrix)
s->flags.tx_noshear = qt_scaleForTransform(s->matrix, &s->txscale);
ensureOutlineMapper();
#ifdef Q_WS_WIN
Q_D(QRasterPaintEngine);
d->isPlain45DegreeRotation = false;
if (txop >= QTransform::TxRotate) {
d->isPlain45DegreeRotation =
(qFuzzyIsNull(matrix.m11())
&& qFuzzyIsNull(matrix.m12() - qreal(1))
&& qFuzzyIsNull(matrix.m21() + qreal(1))
&& qFuzzyIsNull(matrix.m22())
)
||
(qFuzzyIsNull(matrix.m11() + qreal(1))
&& qFuzzyIsNull(matrix.m12())
&& qFuzzyIsNull(matrix.m21())
&& qFuzzyIsNull(matrix.m22() + qreal(1))
)
||
(qFuzzyIsNull(matrix.m11())
&& qFuzzyIsNull(matrix.m12() + qreal(1))
&& qFuzzyIsNull(matrix.m21() - qreal(1))
&& qFuzzyIsNull(matrix.m22())
)
;
}
#endif
}

View File

@ -374,10 +374,6 @@ public:
uint mono_surface : 1;
uint outlinemapper_xform_dirty : 1;
#ifdef Q_WS_WIN
uint isPlain45DegreeRotation : 1;
#endif
QScopedPointer<QRasterizer> rasterizer;
};