|
OpenTTD Source 20251104-master-g3befbdd52f
|
Container for information about a glyph. More...
#include <truetypefontcache.h>
Public Member Functions | |
| Sprite * | GetSprite () |
Data Fields | |
| std::unique_ptr< std::byte[]> | 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<std::byte[]> 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().