#include <generic_font.hpp>
Inheritance diagram for GenericFont:
Public Member Functions | |
virtual GenericBitmap * | drawString (const UString &rString, uint32_t color, int maxWidth=-1) const =0 |
virtual int | getSize () const =0 |
Get the font size. |
Definition at line 35 of file generic_font.hpp.
|
Render a string on a bitmap. If maxWidth != -1, the text is truncated with '...' The Bitmap is _not_ owned by this object Implemented in BitmapFont, and FT2Font. |