LMMS
Loading...
Searching...
No Matches
juce::TypefaceCache Class Reference
Inheritance diagram for juce::TypefaceCache:
juce::DeletedAtShutdown

Classes

struct  CachedFace

Public Member Functions

 TypefaceCache ()
 ~TypefaceCache ()
void setSize (const int numToCache)
void clear ()
Typeface::Ptr findTypefaceFor (const Font &font)
Typeface::Ptr getDefaultFace () const noexcept

Private Attributes

Typeface::Ptr defaultFace
ReadWriteLock lock
Array< CachedFacefaces
size_t counter = 0

Additional Inherited Members

Private Member Functions inherited from juce::DeletedAtShutdown
 DeletedAtShutdown ()
virtual ~DeletedAtShutdown ()
Static Private Member Functions inherited from juce::DeletedAtShutdown
static void deleteAll ()

Constructor & Destructor Documentation

◆ TypefaceCache()

juce::TypefaceCache::TypefaceCache ( )
inline

◆ ~TypefaceCache()

juce::TypefaceCache::~TypefaceCache ( )
inline

Member Function Documentation

◆ clear()

void juce::TypefaceCache::clear ( )
inline

◆ findTypefaceFor()

Typeface::Ptr juce::TypefaceCache::findTypefaceFor ( const Font & font)
inline

◆ getDefaultFace()

Typeface::Ptr juce::TypefaceCache::getDefaultFace ( ) const
inlinenoexcept

◆ setSize()

void juce::TypefaceCache::setSize ( const int numToCache)
inline

Member Data Documentation

◆ counter

size_t juce::TypefaceCache::counter = 0
private

◆ defaultFace

Typeface::Ptr juce::TypefaceCache::defaultFace
private

◆ faces

Array<CachedFace> juce::TypefaceCache::faces
private

◆ lock

ReadWriteLock juce::TypefaceCache::lock
private

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