#include <font.h>
Public Member Functions | |
| ~GlyphCache () | |
| GlyphCache (const GlyphCache &other)=delete | |
| GlyphCache & | operator= (const GlyphCache &)=delete |
| GlyphCache (GlyphCache &&other)=delete | |
| GlyphCache & | operator= (GlyphCache &&other)=delete |
| IGlyphRepresentation * | findRepresentation (const rtti::TypeInfo &type) |
| template<typename T > | |
| T * | findRepresentation () |
| const Glyph & | getGlyph () const |
Protected Member Functions | |
| GlyphCache (std::unique_ptr< Glyph > parent) | |
| void | addRepresentation (std::unique_ptr< IGlyphRepresentation > representation) |
Maps a single glyph to multiple glyph representations. This object is created and managed by a FontInstance.
| ~GlyphCache | ( | ) |
|
delete |
|
delete |
|
protected |
Constructor, only callable by FontInstance
| parent | parent Glyph |
|
protected |
Adds a new glyph representation to the cache. This cache owns the new representation.
| T * findRepresentation |
| IGlyphRepresentation* findRepresentation | ( | const rtti::TypeInfo & | type | ) |
| const Glyph& getGlyph | ( | ) | const |
|
delete |
|
delete |