Describes a single character in a font of a specific size.
More...
#include <CeresEngine/Text/Font.hpp>
Describes a single character in a font of a specific size.
◆ characterID
| UInt32 CeresEngine::GlyphDescriptor::characterID |
Character ID, corresponding to a Unicode key.
◆ height
| UInt32 CeresEngine::GlyphDescriptor::height |
◆ kerningPairs
Pairs that determine if certain character pairs should be closer or father together.
for example "AV" combination.
◆ page
| UInt32 CeresEngine::GlyphDescriptor::page |
Index of the texture the character is located on.
◆ uvHeight
| float CeresEngine::GlyphDescriptor::uvHeight |
◆ uvWidth
| float CeresEngine::GlyphDescriptor::uvWidth |
Width/height of the character in texture coordinates.
◆ uvX
| float CeresEngine::GlyphDescriptor::uvX |
Texture coordinates of the character in the page texture.
◆ uvY
| float CeresEngine::GlyphDescriptor::uvY |
◆ width
| UInt32 CeresEngine::GlyphDescriptor::width |
Width/height of the character in pixels.
◆ xAdvance
| float CeresEngine::GlyphDescriptor::xAdvance |
Determines how much to advance the pen after writing this character, in pixels.
◆ xOffset
| float CeresEngine::GlyphDescriptor::xOffset |
Offset for the visible portion of the character in pixels.
◆ yAdvance
| float CeresEngine::GlyphDescriptor::yAdvance |
◆ yOffset
| float CeresEngine::GlyphDescriptor::yOffset |
The documentation for this struct was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Text/Font.hpp