Josh's Graphics Library
|
#include <FontCache.h>
Public Member Functions | |
std::vector< CachedFont * > | getFonts () |
CachedFont * | getFont (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 () |
void FontCache::appendFont | ( | CachedFont * | font | ) |
void FontCache::eraseFont | ( | CachedFont * | font | ) |
CachedFont * FontCache::getFont | ( | unsigned int | font_size, |
unsigned int | font_index | ||
) |
std::vector< CachedFont * > FontCache::getFonts | ( | ) |
void FontCache::newFont | ( | GLuint | texture_id, |
GLsizei | texture_width, | ||
GLsizei | texture_height, | ||
unsigned int | font_size, | ||
unsigned int | font_index | ||
) |
void FontCache::purgeCache | ( | ) |