#include <ft2_font.hpp>
Inheritance diagram for FT2Font:
Public Member Functions | |
virtual bool | init () |
Initalize the object. Returns false if it failed. | |
virtual GenericBitmap * | drawString (const UString &rString, uint32_t color, int maxWidth=-1) const |
virtual int | getSize () const |
Get the text height. |
Definition at line 40 of file ft2_font.hpp.
|
Render a string on a bitmap. If maxWidth != -1, the text is truncated with '...' Implements GenericFont. Definition at line 139 of file ft2_font.cpp. References FT2Bitmap::draw(), and SkinObject::getIntf(). |