Cortex  10.0.0-a4
Public Member Functions | Static Public Member Functions | List of all members
IECoreGL::FontLoader Class Reference

#include <FontLoader.h>

+ Inheritance diagram for IECoreGL::FontLoader:

Public Member Functions

 IE_CORE_DECLAREMEMBERPTR (FontLoader)
 
 FontLoader (const IECore::SearchPath &searchPaths)
 
FontPtr load (const std::string &name)
 
void clear ()
 Removes any cached fonts.
 
- Public Member Functions inherited from IECore::RefCounted
 IE_CORE_DECLAREMEMBERPTR (RefCounted)
 
void addRef () const
 Add a reference to the current object.
 
void removeRef () const
 Remove a reference from the current object.
 
RefCount refCount () const
 Returns the current reference count.
 

Static Public Member Functions

static FontLoaderdefaultFontLoader ()
 

Additional Inherited Members

- Public Types inherited from IECore::RefCounted
typedef size_t RefCount
 

Detailed Description

Loads Fonts from disk, using searchpaths to find them and keeping a cache to reduce load times.

Member Function Documentation

static FontLoader* IECoreGL::FontLoader::defaultFontLoader ( )
static

Returns a static FontLoader instance that everyone can use. This has searchpaths set using the IECORE_FONT_PATHS environment variable.


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