|
cangine
|
A single cached glyph: its texture and layout metrics. More...
#include <text_renderer.hpp>

Public Attributes | |
| Texture | texture |
| Texture holding the rasterized glyph. | |
| int | width |
| Glyph bitmap width in pixels. | |
| int | height |
| Glyph bitmap height in pixels. | |
| int | bearingX |
| Horizontal offset from the origin to the glyph's left edge. | |
| int | bearingY |
| Vertical offset from the baseline to the glyph's top edge. | |
| unsigned int | advance |
| Horizontal advance to the next glyph (in 1/64 px). | |
A single cached glyph: its texture and layout metrics.
| unsigned int cangine::Character::advance |
Horizontal advance to the next glyph (in 1/64 px).
| int cangine::Character::bearingX |
Horizontal offset from the origin to the glyph's left edge.
| int cangine::Character::bearingY |
Vertical offset from the baseline to the glyph's top edge.
| int cangine::Character::height |
Glyph bitmap height in pixels.
| int cangine::Character::width |
Glyph bitmap width in pixels.