diff options
author | Liang QI <liang.qi@nokia.com> | 2009-09-18 14:48:24 (GMT) |
---|---|---|
committer | Liang QI <liang.qi@nokia.com> | 2009-09-18 14:48:24 (GMT) |
commit | 9446b1745196acc7a6693b4ca2ca169f51fef97b (patch) | |
tree | 096cb6847dcd9318d5656fda2482eefdd08cf3b0 /src/gui/painting/qpaintengine_raster_p.h | |
parent | d5db1f2bb5d520277f5d3ddfa5a50c385aebc753 (diff) | |
download | Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.zip Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.tar.gz Qt-9446b1745196acc7a6693b4ca2ca169f51fef97b.tar.bz2 |
Switch glyph cache from Qt to Symbian
Use Symbian glyph cache directly in QRasterPaintEngine, do not need cache them in Qt if on Symbian Platform.
Reviewed-by: Alessandro Portale
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/painting/qpaintengine_raster_p.h')
-rw-r--r-- | src/gui/painting/qpaintengine_raster_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h index fcf92cd..1787d16 100644 --- a/src/gui/painting/qpaintengine_raster_p.h +++ b/src/gui/painting/qpaintengine_raster_p.h @@ -259,6 +259,10 @@ private: void drawCachedGlyphs(const QPointF &p, const QTextItemInt &ti); +#if defined(Q_OS_SYMBIAN) && defined(QT_NO_FREETYPE) + void drawGlyphsS60(const QPointF &p, const QTextItemInt &ti); +#endif // Q_OS_SYMBIAN && QT_NO_FREETYPE + inline void ensureBrush(const QBrush &brush) { if (!qbrush_fast_equals(state()->lastBrush, brush) || state()->fillFlags) updateBrush(brush); |