![]() |
VR-Forces 4.1.1 Class Documentation
|
A class which represents a glyph instance. More...
Public Member Functions | |
| DtGlyph (const DtBoundingBox &bbox, DtPoint advance, int textureId, DtPoint origin, DtPoint size, DtPoint 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 |
| DtPoint | myOrigin |
| DtPoint | mySize |
| DtPoint | myUVs [2] |
| DtPoint | myAdvance |
| DtBoundingBox | myBoundingBox |
A class which represents a glyph instance.
A font is made up of glyphs.
| makVrv::DtGlyph::DtGlyph | ( | const DtBoundingBox & | bbox, |
| DtPoint | advance, | ||
| int | textureId, | ||
| DtPoint | origin, | ||
| DtPoint | size, | ||
| DtPoint | 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 |
| DtPoint makVrv::DtGlyph::myOrigin |
| DtPoint makVrv::DtGlyph::mySize |
| DtPoint makVrv::DtGlyph::myUVs[2] |
| DtPoint makVrv::DtGlyph::myAdvance |
| DtBoundingBox makVrv::DtGlyph::myBoundingBox |