summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_blitter.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-01-19 10:32:15 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-01-19 10:32:15 (GMT)
commit900e0b47c09ec9d4d12d7de077d01b45baa7497f (patch)
tree87d17200d38a55ce49ff4f797983d01c44f4ab01 /src/gui/painting/qpaintengine_blitter.cpp
parent68153ffc1ee0dcd779a4f809b614b05550a2acf9 (diff)
downloadQt-900e0b47c09ec9d4d12d7de077d01b45baa7497f.zip
Qt-900e0b47c09ec9d4d12d7de077d01b45baa7497f.tar.gz
Qt-900e0b47c09ec9d4d12d7de077d01b45baa7497f.tar.bz2
Make the blitterpaintengine not create a path
but call the raster implementation instead (this is a workaround for the anti-pattern that the blitterpaintengine is)
Diffstat (limited to 'src/gui/painting/qpaintengine_blitter.cpp')
-rw-r--r--src/gui/painting/qpaintengine_blitter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_blitter.cpp b/src/gui/painting/qpaintengine_blitter.cpp
index 43206c8..0f6b5cf 100644
--- a/src/gui/painting/qpaintengine_blitter.cpp
+++ b/src/gui/painting/qpaintengine_blitter.cpp
@@ -587,6 +587,12 @@ void QBlitterPaintEngine::drawTextItem(const QPointF &pos, const QTextItem &ti)
#endif
}
+void QBlitterPaintEngine::drawEllipse(const QRectF &r)
+{
+ Q_D(QBlitterPaintEngine);
+ d->lock();
+ d->raster->drawEllipse(r);
+}
void QBlitterPaintEngine::setState(QPainterState *s)
{