#include <RE_OGLBitmapFont.h>

Public Member Functions | |
| RE_OGLBitmapFont (const char *name, float size, RE_OGLFontCache *cache) | |
| ~RE_OGLBitmapFont () | |
| virtual void | render (RE_Render *r, const char *s) |
| These three are overridden from RE_Font. See RE_Font for a description. | |
| virtual int | getCharWidth (char c, char) |
| virtual int | getStringWidth (const char *s) |
| Get the width of a string, including all kerning adjustments. | |
Protected Member Functions | |
| virtual void | loadFont () |
| Overridden from RE_Font. See RE_Font for a description. | |
| virtual void | genDisplayLists (RE_Render *r) |
| Overridden from RE_OGLFont. See RE_OGLFont for a description. | |
Definition at line 31 of file RE_OGLBitmapFont.h.
| RE_OGLBitmapFont::RE_OGLBitmapFont | ( | const char * | name, | |
| float | size, | |||
| RE_OGLFontCache * | cache | |||
| ) |
| RE_OGLBitmapFont::~RE_OGLBitmapFont | ( | ) |
| virtual void RE_OGLBitmapFont::genDisplayLists | ( | RE_Render * | r | ) | [protected, virtual] |
| virtual int RE_OGLBitmapFont::getCharWidth | ( | char | c, | |
| char | prev | |||
| ) | [virtual] |
Get the width, in pixels, of a particular character as laid out on the screen, including kerning. This is better thought of as answering the question "how far horizontally will the font renderer travel if it renders c after prev?"
Implements RE_Font.
| virtual int RE_OGLBitmapFont::getStringWidth | ( | const char * | s | ) | [virtual] |
| virtual void RE_OGLBitmapFont::loadFont | ( | ) | [protected, virtual] |
| virtual void RE_OGLBitmapFont::render | ( | RE_Render * | r, | |
| const char * | s | |||
| ) | [virtual] |
1.5.9