- cpp3ds
- Glyph
Structure describing a glyph. More...
#include <Glyph.hpp>
Public Member Functions | |
Glyph () | |
Default constructor. More... | |
Public Attributes | |
int | advance |
Offset to move horizontically to the next character. More... | |
IntRect | bounds |
Bounding rectangle of the glyph, in coordinates relative to the baseline. More... | |
IntRect | textureRect |
Texture coordinates of the glyph inside the font's texture. More... | |
Structure describing a glyph.
A glyph is the visual representation of a character.
The cpp3ds::Glyph structure provides the information needed to handle the glyph:
int cpp3ds::Glyph::advance |
IntRect cpp3ds::Glyph::bounds |
IntRect cpp3ds::Glyph::textureRect |