OpenTTD Source 20241224-master-gee860a5c8e
|
Container for information about a glyph. More...
#include <truetypefontcache.h>
Public Member Functions | |
Sprite * | GetSprite () |
Data Fields | |
std::unique_ptr< uint8_t[]> | data |
The loaded sprite. | |
uint8_t | width = 0 |
The width of the glyph. | |
Container for information about a glyph.
Definition at line 31 of file truetypefontcache.h.
|
inline |
Definition at line 35 of file truetypefontcache.h.
std::unique_ptr<uint8_t[]> TrueTypeFontCache::GlyphEntry::data |
The loaded sprite.
Definition at line 32 of file truetypefontcache.h.
Referenced by TrueTypeFontCache::GetGlyph(), and TrueTypeFontCache::GetGlyphWidth().
uint8_t TrueTypeFontCache::GlyphEntry::width = 0 |
The width of the glyph.
Definition at line 33 of file truetypefontcache.h.
Referenced by TrueTypeFontCache::GetGlyphWidth().