#include <imagefontbase.h>


Public Member Functions | |
| ImageFontBase () | |
| virtual | ~ImageFontBase () |
| virtual int | getWidth (const std::string &text) const |
| virtual int | getHeight () const |
ImageFont base class
Just set the glyphs/placeholder in any derived class and the rendering is handled by this class. Also frees all glyph surfaces on destruction.
Definition at line 46 of file imagefontbase.h.
| FIFE::ImageFontBase::ImageFontBase | ( | ) |
Constructor.
Definition at line 44 of file imagefontbase.cpp.
| FIFE::ImageFontBase::~ImageFontBase | ( | ) | [virtual] |
Destructor.
Definition at line 47 of file imagefontbase.cpp.
| int FIFE::ImageFontBase::getHeight | ( | ) | const [virtual] |
Get the height in pixels a text line would occupy
Implements FIFE::AbstractFont.
Definition at line 74 of file imagefontbase.cpp.
| int FIFE::ImageFontBase::getWidth | ( | const std::string & | text | ) | const [virtual] |
Get the width in pixels a given text would occupy
| text | The text that should be measured. |
Implements FIFE::AbstractFont.
Definition at line 55 of file imagefontbase.cpp.
References FIFE::FontBase::getGlyphSpacing().
1.6.3