4#ifndef QSGOPENVGFONTGLYPHCACHE_H
5#define QSGOPENVGFONTGLYPHCACHE_H
7#include <QtGui/QGlyphRun>
25 QHash<QRawFont, QSGOpenVGFontGlyphCache *> m_caches;
38 void populate(
const QVector<quint32> &glyphs);
39 void release(
const QVector<quint32> &glyphs);
41 VGFont
font() {
return m_font; }
44 void requestGlyphs(
const QSet<quint32> &glyphs);
45 void referenceGlyphs(
const QSet<quint32> &glyphs);
46 void releaseGlyphs(
const QSet<quint32> &glyphs);
53 QHash<quint32, int> m_glyphReferences;
The QRawFont class provides access to a single physical instance of a font.
QSGOpenVGFontGlyphCacheManager()
void insertCache(const QRawFont &font, QSGOpenVGFontGlyphCache *cache)
~QSGOpenVGFontGlyphCacheManager()
const QSGOpenVGFontGlyphCacheManager * manager() const
void populate(const QVector< quint32 > &glyphs)
QSGOpenVGFontGlyphCache(QSGOpenVGFontGlyphCacheManager *manager, const QRawFont &font)
const QRawFont & referenceFont() const
~QSGOpenVGFontGlyphCache()
QCache< int, Employee > cache
[0]
Combined button and popup list for selecting options.