Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGOpenVGFontGlyphCache Class Reference

#include <qsgopenvgfontglyphcache.h>

+ Collaboration diagram for QSGOpenVGFontGlyphCache:

Public Member Functions

 QSGOpenVGFontGlyphCache (QSGOpenVGFontGlyphCacheManager *manager, const QRawFont &font)
 
 ~QSGOpenVGFontGlyphCache ()
 
const QSGOpenVGFontGlyphCacheManagermanager () const
 
const QRawFontreferenceFont () const
 
int glyphCount () const
 
void populate (const QVector< quint32 > &glyphs)
 
void release (const QVector< quint32 > &glyphs)
 
VGFont font ()
 

Detailed Description

Definition at line 28 of file qsgopenvgfontglyphcache.h.

Constructor & Destructor Documentation

◆ QSGOpenVGFontGlyphCache()

QSGOpenVGFontGlyphCache::QSGOpenVGFontGlyphCache ( QSGOpenVGFontGlyphCacheManager * manager,
const QRawFont & font )

Definition at line 31 of file qsgopenvgfontglyphcache.cpp.

References font(), and QRawFontPrivate::get().

+ Here is the call graph for this function:

◆ ~QSGOpenVGFontGlyphCache()

QSGOpenVGFontGlyphCache::~QSGOpenVGFontGlyphCache ( )

Definition at line 40 of file qsgopenvgfontglyphcache.cpp.

Member Function Documentation

◆ font()

VGFont QSGOpenVGFontGlyphCache::font ( )
inline

Definition at line 41 of file qsgopenvgfontglyphcache.h.

Referenced by QSGOpenVGFontGlyphCache().

+ Here is the caller graph for this function:

◆ glyphCount()

int QSGOpenVGFontGlyphCache::glyphCount ( ) const
inline

Definition at line 36 of file qsgopenvgfontglyphcache.h.

Referenced by populate().

+ Here is the caller graph for this function:

◆ manager()

const QSGOpenVGFontGlyphCacheManager * QSGOpenVGFontGlyphCache::manager ( ) const
inline

Definition at line 34 of file qsgopenvgfontglyphcache.h.

◆ populate()

void QSGOpenVGFontGlyphCache::populate ( const QVector< quint32 > & glyphs)

Definition at line 46 of file qsgopenvgfontglyphcache.cpp.

References QHash< Key, T >::contains(), glyphCount(), i, and qWarning.

Referenced by QSGOpenVGGlyphNode::setGlyphs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ referenceFont()

const QRawFont & QSGOpenVGFontGlyphCache::referenceFont ( ) const
inline

Definition at line 35 of file qsgopenvgfontglyphcache.h.

◆ release()

void QSGOpenVGFontGlyphCache::release ( const QVector< quint32 > & glyphs)

Definition at line 71 of file qsgopenvgfontglyphcache.cpp.

References i.

Referenced by QSGOpenVGGlyphNode::~QSGOpenVGGlyphNode(), and QSGOpenVGGlyphNode::setGlyphs().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: