#include <font.h>
Inheritance diagram for GltFont:

Public Methods | |
| GltFont () | |
| Constructor. | |
| virtual | ~GltFont () |
| Destructor. | |
| virtual void | init (void *)=0 |
| Initialise font using current OpenGL context. | |
| virtual void | clear ()=0 |
| Free all OpenGL resources (textures and display lists). | |
| virtual bool | print (const wchar_t ch) const=0 |
| Print a character at the current OpenGL raster position. | |
| virtual bool | print (const std::wstring &str) const=0 |
| Print a string at the current OpenGL raster position. | |
| virtual void | size (int &width, int &height, const std::wstring &str) const |
| Get the size (in pixels) of a string. | |
| virtual int | width (const wchar_t ch) const |
| Get the width of a particular character. | |
| const int | hStep () const |
| Maximum horizontal distance between characters. | |
| const int | vStep () const |
| Maximum vertical distance between characters. | |
Definition at line 51 of file font.h.
1.2.18