![]() |
VR-Forces Developer's Guide
|
A class with encapsulated a font loaded from disk with a given size.

Public Types | |
| enum | TextAlignment { AlignLeft, AlignCenter, AlignRight, AlignJustify } |
Public Member Functions | |
| DtFontInterface ()=default | |
| ~DtFontInterface () | |
| virtual float | lineHeight () const =0 |
| virtual DtBoundingBox | calculateBoundingBox (const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)=0 |
| virtual Dt2dPoint | calculateGlyphSize (const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)=0 |
| virtual bool | isValid () const =0 |
|
default |
CTOR.
| makVrv::DtFontInterface::~DtFontInterface | ( | ) |
DTOR.
|
pure virtual |
Implemented in makVrv::DtFont.
|
pure virtual |
Calculate the bounding box for a string.
Implemented in makVrv::DtFont.
|
pure virtual |
Calculate the bounding box for a string.
Implemented in makVrv::DtFont.
|
pure virtual |
Returns true if this font is valid (has a character map)
Implemented in makVrv::DtFont.