diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-03-30 14:25:54 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-07 06:29:14 (GMT) |
commit | 7666940bc4a20c3db98ef8cefd4cd0196cf9a437 (patch) | |
tree | b602b515f697bd5f2052877a24abd35c73fb66fa /src/gui/painting/qpaintengine_raster_p.h | |
parent | 470d87ac503debe3bead80628044d176479975eb (diff) | |
download | Qt-7666940bc4a20c3db98ef8cefd4cd0196cf9a437.zip Qt-7666940bc4a20c3db98ef8cefd4cd0196cf9a437.tar.gz Qt-7666940bc4a20c3db98ef8cefd4cd0196cf9a437.tar.bz2 |
Fixes: Make drawPixmap as fast as drawImage on rasterR
RevBy: Samuel
Details: The IMAGE_FROM_PIXMAP has to be doing a local copy or
something, because it is sure not fast...
Diffstat (limited to 'src/gui/painting/qpaintengine_raster_p.h')
-rw-r--r-- | src/gui/painting/qpaintengine_raster_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h index 0f8060a..26a2b3f 100644 --- a/src/gui/painting/qpaintengine_raster_p.h +++ b/src/gui/painting/qpaintengine_raster_p.h @@ -256,7 +256,7 @@ private: void init(); void fillRect(const QRectF &rect, QSpanData *data); - void drawBitmap(const QPointF &pos, const QPixmap &image, QSpanData *fill); + void drawBitmap(const QPointF &pos, const QImage &image, QSpanData *fill); void drawCachedGlyphs(const QPointF &p, const QTextItemInt &ti); |