summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengineex_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-29 15:08:41 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-02 15:57:17 (GMT)
commit385176ad28b3a79bcd196d2d529c4bf7abd4fcc0 (patch)
treee50e39712472bc672308dac1770261587b3f98b6 /src/gui/painting/qpaintengineex_p.h
parent4f7d94ca73556f3a40631ad07f565995f6f85176 (diff)
downloadQt-385176ad28b3a79bcd196d2d529c4bf7abd4fcc0.zip
Qt-385176ad28b3a79bcd196d2d529c4bf7abd4fcc0.tar.gz
Qt-385176ad28b3a79bcd196d2d529c4bf7abd4fcc0.tar.bz2
Added support for drawing a pixmap multiple times in one call.
This is internal API. It's possible to specify a horizontal and vertical scale, rotation, opacity and source rectangle for each pixmap item. Useful for particle effects. Reviewed-by: Trond
Diffstat (limited to 'src/gui/painting/qpaintengineex_p.h')
-rw-r--r--src/gui/painting/qpaintengineex_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintengineex_p.h b/src/gui/painting/qpaintengineex_p.h
index 814a0f0..42c1ce9 100644
--- a/src/gui/painting/qpaintengineex_p.h
+++ b/src/gui/painting/qpaintengineex_p.h
@@ -70,7 +70,7 @@ QT_MODULE(Gui)
class QPainterState;
class QPaintEngineExPrivate;
struct StrokeHandler;
-
+struct QDrawPixmapsData;
struct QIntRect {
int x1, y1, x2, y2;
@@ -133,8 +133,6 @@ public:
qreal pts[8];
};
-
-
#ifndef QT_NO_DEBUG_STREAM
QDebug Q_GUI_EXPORT &operator<<(QDebug &, const QVectorPath &path);
#endif
@@ -198,6 +196,8 @@ public:
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s);
+ virtual void drawPixmaps(const QDrawPixmapsData *drawingData, int dataCount, const QPixmap &pixmap);
+
virtual void updateState(const QPaintEngineState &state);
virtual void setState(QPainterState *s);