C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

struct GlyphData

Defined in:  C4Fonts.h
The GlyphData structure defines the properties of a single glyph within a font.
Data Members
unsigned long   glyphFlags; Flags for the glyph.
float           glyphWidth; The width of the glyph, in pixels.
float           glyphHeight; The height of the glyph, in pixels.
float           glyphTop; The distance from the top of the font to the top of the glyph, in pixels.
Point2D         glyphTexcoord[2]; The texture coordinates corresponding to the upper-left and bottom-right corners of the glyph within the font's texture.
See Also

FontHeader