CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GlyphProperties Struct Reference

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.
 

Detailed Description

Describes a single character in a font.

Member Data Documentation

◆ advance

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.

◆ bounds

Rect2 CeresEngine::GlyphProperties::bounds

The bounding rectangle for the specified glyph.

◆ characterID

UInt32 CeresEngine::GlyphProperties::characterID

Character ID, corresponding to a Unicode key.


The documentation for this struct was generated from the following file: