![]() |
VR-Forces 4.0.4 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] | ||
| ) |
| float makVrv::DtGlyph::horizontalAdvance | ( | ) | const |
| const DtBoundingBox& makVrv::DtGlyph::boundingBox | ( | ) | const |
| bool makVrv::DtGlyph::renderable | ( | ) | const [inline] |
Check to see if a glyph is renderable.