Container structure for font data.
More...
#include <Glyph.hpp>
|
| IntRect | bounds |
| | Bounding rectangle coordinates of the glyph as per the texture source.
|
| int | advance |
| | Offset to move horizontally to the next character (spacing).
|
| Point2i | offset = Point2i::zero |
| | The additional X, Y rendering offsets to apply when copying the glyph from the texture source to the output.
|
Container structure for font data.
Definition at line 43 of file Glyph.hpp.
◆ advance
Offset to move horizontally to the next character (spacing).
Definition at line 54 of file Glyph.hpp.
◆ bounds
| IntRect nom::Glyph::bounds |
Bounding rectangle coordinates of the glyph as per the texture source.
Definition at line 51 of file Glyph.hpp.
◆ offset
The additional X, Y rendering offsets to apply when copying the glyph from the texture source to the output.
- See also
- nom::BMFont, nom::Text.
Definition at line 63 of file Glyph.hpp.
The documentation for this struct was generated from the following file:
- /home/jeff/Projects/nomlib.git/include/nomlib/graphics/fonts/Glyph.hpp