CGM Objects Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Larson::CFontCache Class Reference

CFontCache – generates and maintains font cache. More...

#include <FontCache.h>

Public Types

enum  ExceptionCodes { eUnableToInitializeFreeType = EXC_FONTCACHE, eUnableToGenerateFontCache = EXC_FONTCACHE + 1, eUnableToWriteFontCacheFile = EXC_FONTCACHE + 2, eUnableToOpenFontCacheFile = EXC_FONTCACHE + 3 }
 A container for all the available system fonts.
 
typedef cache_type::value_type value_type
 

Public Member Functions

void serialize ()
 
void restore (Larson::CConfig *config)
 
FT_Face findFace (Larson::CConfig *config, CLSTFont *)
 
int getFacesSize ()
 
std::wstring getFaceFamilyByIndex (int index)
 
std::wstring getFacePathByIndex (int index)
 

Static Public Member Functions

static CFontCacheInstance ()
 

Public Attributes

wchar_t * keys [2]
 

Detailed Description

CFontCache – generates and maintains font cache.


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