|
CeresEngine 0.2.0
A game development framework
|
Describes a single character in a font. More...
#include <CeresEngine/Text/Font.hpp>
Public Attributes | |
| UInt32 | characterID |
| Character ID, corresponding to a Unicode key. | |
| Rect2 | bounds |
| The bounding rectangle for the specified glyph. | |
| Offset2 | advance |
| The nominal spacing for the given glyph—the distance the current point moves after showing the glyph. | |
Describes a single character in a font.
| Offset2 CeresEngine::GlyphProperties::advance |
The nominal spacing for the given glyph—the distance the current point moves after showing the glyph.
This spacing is given according to the glyph’s movement direction, which is either strictly horizontal or strictly vertical.
| Rect2 CeresEngine::GlyphProperties::bounds |
The bounding rectangle for the specified glyph.
| UInt32 CeresEngine::GlyphProperties::characterID |
Character ID, corresponding to a Unicode key.