Qt 6.x
The Qt SDK
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(), QRawFontPrivate::fontEngine, QRawFontPrivate::get(), and QFontEngine::glyphCount().

+ 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 QList< T >::at(), QHash< Key, T >::contains(), QList< T >::count(), glyphCount(), i, QSet< T >::insert(), QSet< T >::isEmpty(), 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 QList< T >::at(), QList< T >::count(), i, and QSet< T >::insert().

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

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

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