diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-03-09 11:26:51 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-03-09 11:28:12 (GMT) |
commit | bb966fe9dd8be25530da5a66727c7fe2123fafbb (patch) | |
tree | fccb9341ddc51d53b4b3dcd06e35c09420964bd1 /src/openvg | |
parent | 3b58b103bfa2e2b9bb12a042cbba36fb0a1baf9f (diff) | |
download | Qt-bb966fe9dd8be25530da5a66727c7fe2123fafbb.zip Qt-bb966fe9dd8be25530da5a66727c7fe2123fafbb.tar.gz Qt-bb966fe9dd8be25530da5a66727c7fe2123fafbb.tar.bz2 |
Renamed QPainter::Fragment/Hint -> QPainter::PixmapFragment/Hint
Reviewed-by: Kim
Diffstat (limited to 'src/openvg')
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 4 | ||||
-rw-r--r-- | src/openvg/qpaintengine_vg_p.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 4df894a..2c850c9 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -3041,8 +3041,8 @@ void QVGPaintEngine::drawTiledPixmap // (i.e. no opacity), no rotation or scaling, and drawing the full // pixmap rather than parts of the pixmap. Even having just one of // these conditions will improve performance. -void QVGPaintEngine::drawPixmapFragments(const QPainter::Fragment *drawingData, int dataCount, - const QPixmap &pixmap, QFlags<QPainter::FragmentHint> hints) +void QVGPaintEngine::drawPixmapFragments(const QPainter::PixmapFragment *drawingData, int dataCount, + const QPixmap &pixmap, QFlags<QPainter::PixmapFragmentHint> hints) { #if !defined(QT_SHIVAVG) Q_D(QVGPaintEngine); diff --git a/src/openvg/qpaintengine_vg_p.h b/src/openvg/qpaintengine_vg_p.h index 1203af5..1e7e26c 100644 --- a/src/openvg/qpaintengine_vg_p.h +++ b/src/openvg/qpaintengine_vg_p.h @@ -137,7 +137,8 @@ public: void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s); - void drawPixmapFragments(const QPainter::Fragment *drawingData, int dataCount, const QPixmap &pixmap, QFlags<QPainter::FragmentHint> hints); + void drawPixmapFragments(const QPainter::PixmapFragment *drawingData, int dataCount, const QPixmap &pixmap, + QFlags<QPainter::PixmapFragmentHint> hints); void drawTextItem(const QPointF &p, const QTextItem &textItem); void drawStaticTextItem(QStaticTextItem *staticTextItem); |