![]() |
VR-Forces 4.3 Class Documentation
|
A class which represents a glyph instance. More...
Public Member Functions | |
| DtGlyph (const DtBoundingBox &bbox, Dt2dPoint advance, int textureId, Dt2dPoint origin, Dt2dPoint size, Dt2dPoint uv[2]) | |
| ~DtGlyph () | |
| float | horizontalAdvance () const |
| const DtBoundingBox & | boundingBox () const |
| bool | renderable () const |
| Check to see if a glyph is renderable. | |
Public Attributes | |
| int | myTextureID |
| Dt2dPoint | myOrigin |
| Dt2dPoint | mySize |
| Dt2dPoint | myUVs [2] |
| Dt2dPoint | myAdvance |
| DtBoundingBox | myBoundingBox |
A class which represents a glyph instance.
A font is made up of glyphs.
| makVrv::DtGlyph::DtGlyph | ( | const DtBoundingBox & | bbox, |
| Dt2dPoint | advance, | ||
| int | textureId, | ||
| Dt2dPoint | origin, | ||
| Dt2dPoint | size, | ||
| Dt2dPoint | uv[2] | ||
| ) |
| makVrv::DtGlyph::~DtGlyph | ( | ) |
| float makVrv::DtGlyph::horizontalAdvance | ( | ) | const |
| const DtBoundingBox& makVrv::DtGlyph::boundingBox | ( | ) | const |
|
inline |
Check to see if a glyph is renderable.
| int makVrv::DtGlyph::myTextureID |
| Dt2dPoint makVrv::DtGlyph::myOrigin |
| Dt2dPoint makVrv::DtGlyph::mySize |
| Dt2dPoint makVrv::DtGlyph::myUVs[2] |
| Dt2dPoint makVrv::DtGlyph::myAdvance |
| DtBoundingBox makVrv::DtGlyph::myBoundingBox |