#include <te_font3.h>
Public Member Functions | |
bool | load (const Common::Path &path) |
void | unload () |
Public Member Functions inherited from Tetraedge::TeIFont | |
virtual float | ascender (uint pxSize) |
virtual float | descender (uint pxSize) |
virtual float | height (uint pxSize) |
virtual TeVector3f32 | kerning (uint pxSize, uint isocode1, uint isocode2) |
virtual void | draw (TeImage &destImage, const Common::String &str, int fontSize, int yoff, const TeColor &col, AlignStyle alignMode) |
virtual Common::Rect | getBBox (const Common::String &str, int fontSize) |
virtual int | getHeight (int fontSize) |
virtual int | wordWrapText (const Common::String &str, int fontSize, int maxWidth, Common::Array< Common::String > &lines) |
virtual TeIFont::GlyphData | glyph (uint pxSize, uint charcode) |
Public Member Functions inherited from Tetraedge::TeResource | |
void | generateAccessName () |
const Common::Path & | getAccessName () const |
void | setAccessName (const Common::Path &name) |
Public Member Functions inherited from Tetraedge::TeObject | |
void | deleteLater () |
Public Member Functions inherited from Tetraedge::TeReferencesCounter | |
bool | decrementCounter () |
void | incrementCounter () |
void | resetCounter () |
Additional Inherited Members | |
Public Types inherited from Tetraedge::TeIFont | |
enum | AlignStyle { AlignLeft, AlignRight, AlignJustify, AlignCenter } |
Static Public Member Functions inherited from Tetraedge::TeObject | |
static void | deleteLaterStatic (TeObject *obj) |
static void | deleteNow () |
static void | cleanup () |
Protected Attributes inherited from Tetraedge::TeIFont | |
Common::CodePage | _codePage |
TeFont3 is a minimal wrapper on Graphics::Font for TTF files, supporting multiple sizes and matching the original TeFont api a bit closer.