#include <font.h>

Public Member Functions | |
| Font (const char *id) | |
| virtual | ~Font () |
| void | SetCharSize (const FontFile::CharSize &char_size) |
| void | SetShadow (ushort_t x, ushort_t y, byte_t alpha=255) |
| const FontFile::CharSize & | GetCharsize () const |
| ushort_t | GetHeight () const |
| ulong_t | GetGlyphsCount () const |
| virtual void | Print (const string &text) const |
Protected Attributes | |
| FontFile::CharSize | char_size |
| ushort_t | shadow_x |
| ushort_t | shadow_y |
| float | shadow_alpha |
| ushort_t | height |
| ulong_t | glyphs_count |
| Font::Font | ( | const char * | id | ) |
Constructor.
| Font::~Font | ( | ) | [virtual] |
Destructor.
| void Font::SetCharSize | ( | const FontFile::CharSize & | char_size | ) | [inline] |
| const FontFile::CharSize & Font::GetCharsize | ( | ) | const [inline] |
| ushort_t Font::GetHeight | ( | ) | const [inline] |
| ulong_t Font::GetGlyphsCount | ( | ) | const [inline] |
| void Font::Print | ( | const string & | text | ) | const [virtual] |
Prints given text.
Reimplemented in OpenGLFont.
FontFile::CharSize Font::char_size [protected] |
ushort_t Font::shadow_x [protected] |
ushort_t Font::shadow_y [protected] |
float Font::shadow_alpha [protected] |
ushort_t Font::height [protected] |
ulong_t Font::glyphs_count [protected] |
1.5.3