A representation of a single glyph (character) from a font.
get_character
Returns the Unicode value that corresponds to the character this glyph represents.
TextGlyph(int character, PN_stdfloat advance=0)
This constructor makes an empty glyph.
get_state
Returns the state in which the glyph should be rendered.
bool has_quad() const
Returns true if this glyph contains the definition for a simple quad, rather than a more complex piec...
get_advance
Returns the distance by which the character pointer should be advanced after placing this character; ...
bool get_quad(LVecBase4 &dimensions, LVecBase4 &texcoords) const
Assuming that this glyph is representable as a textured quad, returns its dimensions and UV range.