summaryrefslogtreecommitdiffstats
path: root/src/openvg/qvgfontglyphcache_p.h
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2010-02-01 09:54:53 (GMT)
committerJason Barron <jbarron@trolltech.com>2010-07-12 07:03:03 (GMT)
commita07ae6df3c274639ff68856cd2e68689a3ddbf3f (patch)
tree0a5e09ae25ac92803f869fa09af3cc0d6cb54db9 /src/openvg/qvgfontglyphcache_p.h
parent8757747b05940d8ce6e9550b382a7ea196db90b4 (diff)
downloadQt-a07ae6df3c274639ff68856cd2e68689a3ddbf3f.zip
Qt-a07ae6df3c274639ff68856cd2e68689a3ddbf3f.tar.gz
Qt-a07ae6df3c274639ff68856cd2e68689a3ddbf3f.tar.bz2
Add new file for Symbian specific VG stuff and add Symbian glyph cache.
Factor out the Symbian specific bits of QVGPixmapData into a separate file and introduce our subclassed implementation of the VG font cache. Also make our font cache a friend of the S60 font engine because the cache needs to access the CFont member to create the glyph image. Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/openvg/qvgfontglyphcache_p.h')
-rw-r--r--src/openvg/qvgfontglyphcache_p.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/openvg/qvgfontglyphcache_p.h b/src/openvg/qvgfontglyphcache_p.h
index ced0d735..4ba07ba 100644
--- a/src/openvg/qvgfontglyphcache_p.h
+++ b/src/openvg/qvgfontglyphcache_p.h
@@ -79,6 +79,15 @@ public:
QSet<glyph_t> cachedGlyphs;
};
+#if defined( Q_OS_SYMBIAN)
+class QSymbianVGFontGlyphCache : public QVGFontGlyphCache
+{
+ void cacheGlyphs(QVGPaintEnginePrivate *d,
+ const QTextItemInt &ti,
+ const QVarLengthArray<glyph_t> &glyphs);
+};
+#endif
+
QT_END_NAMESPACE
#endif // QVGFONTGLYPHCACHE_H