Josh's Graphics Library
JGL::FontCache Class Reference

#include <FontCache.h>

Public Member Functions

std::vector< CachedFont * > getFonts ()
 
CachedFontgetFont (unsigned int font_size, unsigned int font_index)
 
void appendFont (CachedFont *font)
 
void newFont (GLuint texture_id, GLsizei texture_width, GLsizei texture_height, unsigned int font_size, unsigned int font_index)
 
void eraseFont (CachedFont *font)
 
void purgeCache ()
 

Member Function Documentation

◆ appendFont()

void FontCache::appendFont ( CachedFont font)

◆ eraseFont()

void FontCache::eraseFont ( CachedFont font)
Here is the caller graph for this function:

◆ getFont()

CachedFont * FontCache::getFont ( unsigned int  font_size,
unsigned int  font_index 
)
Here is the caller graph for this function:

◆ getFonts()

std::vector< CachedFont * > FontCache::getFonts ( )
Here is the caller graph for this function:

◆ newFont()

void FontCache::newFont ( GLuint  texture_id,
GLsizei  texture_width,
GLsizei  texture_height,
unsigned int  font_size,
unsigned int  font_index 
)
Here is the caller graph for this function:

◆ purgeCache()

void FontCache::purgeCache ( )
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: