Utility for drawing text with GTK GL. More...
#include <Typeface.hpp>
Public Member Functions | |
Typeface () | |
int | getHeight () const |
void | load (const string &descriptor) |
void | write (const string &text) |
Private Attributes | |
GLuint | base |
int | height |
Utility for drawing text with GTK GL.
Typeface | ( | ) |
Generates enough display lists for each character.
int getHeight | ( | ) | const [inline] |
void load | ( | const string & | descriptor | ) |
Load the font and create the display lists for each character.
void write | ( | const string & | text | ) |
Write some text by calling the display lists.