diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-22 13:34:03 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-22 13:34:57 (GMT) |
commit | 16af209f76074553c6f56b3cd0da3610a71410ab (patch) | |
tree | 023a93bec04149903569b177b14ddccc3d697ad7 /src/gui/painting/qpaintengine_raster.cpp | |
parent | 4a157ee126fc482cd1954b80f22f790ec544e241 (diff) | |
download | Qt-16af209f76074553c6f56b3cd0da3610a71410ab.zip Qt-16af209f76074553c6f56b3cd0da3610a71410ab.tar.gz Qt-16af209f76074553c6f56b3cd0da3610a71410ab.tar.bz2 |
Fixed ellipsedrawing in raser engine for rects over 2^15 in size
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index effc99e..6037bd5 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -3663,6 +3663,7 @@ void QRasterPaintEngine::drawEllipse(const QRectF &rect) ensurePen(); if (((qpen_style(s->lastPen) == Qt::SolidLine && s->flags.fast_pen) || (qpen_style(s->lastPen) == Qt::NoPen && !s->flags.antialiased)) + && qMax(rect.width(), rect.height()) < QT_RASTER_COORD_LIMIT #ifdef FLOATING_POINT_BUGGY_OR_NO_FPU && qMax(rect.width(), rect.height()) < 128 // integer math breakdown #endif |