#include <openglfont.h>

Public Member Functions | |
| OpenGLFont (const char *id) | |
| virtual | ~OpenGLFont () |
| virtual ulong_t | GetDataSize () |
| virtual void | Print (const string &text) const |
Protected Member Functions | |
| virtual bool | LoadResource () |
| virtual void | UnloadResource () |
| bool | LoadGlyph (FontFile *font_file, ulong_t char_code) |
Protected Attributes | |
| Ref< OpenGLGfxServer > | gl_gfx_server |
| GLuint * | glid |
| GLuint | list_base |
| ulong_t | data_size |
| OpenGLFont::OpenGLFont | ( | const char * | id | ) |
| OpenGLFont::~OpenGLFont | ( | ) | [virtual] |
| ulong_t OpenGLFont::GetDataSize | ( | ) | [virtual] |
Return an estimated byte size of the resource data. This is only used for statistics.
Reimplemented from Resource.
| void OpenGLFont::Print | ( | const string & | text | ) | const [virtual] |
Prints given text.
Reimplemented from Font.
| bool OpenGLFont::LoadResource | ( | ) | [protected, virtual] |
Load the texture resource.
Reimplemented from Resource.
| void OpenGLFont::UnloadResource | ( | ) | [protected, virtual] |
Unload everything.
Reimplemented from Resource.
Ref<OpenGLGfxServer> OpenGLFont::gl_gfx_server [protected] |
GLuint* OpenGLFont::glid [protected] |
GLuint OpenGLFont::list_base [protected] |
ulong_t OpenGLFont::data_size [protected] |
1.5.3