|
| Font (FontID id, AssetManager *asset_manager) |
|
bool | init () override |
|
bool | is_valid () const |
|
TexturePtr | texture () const |
|
MaterialPtr | material () const |
|
std::pair< Vec2, Vec2 > | char_texcoords (char32_t c) const |
|
std::pair< Vec2, Vec2 > | char_corners (char32_t c) const |
|
uint16_t | character_width (char32_t ch) |
|
uint16_t | character_height (char32_t ch) |
|
float | character_advance (char32_t ch, char32_t next) |
|
Vec2 | character_offset (char32_t ch) |
|
uint16_t | size () const |
|
int16_t | ascent () const |
|
int16_t | descent () const |
|
int16_t | line_gap () const |
|
virtual void | clean_up () |
|
| Asset (AssetManager *manager) |
|
AssetManager & | asset_manager () |
|
const AssetManager & | asset_manager () const |
|
int | age () const |
|
void | set_garbage_collection_method (GarbageCollectMethod method) |
|
void | set_name (const std::string &name) |
|
const std::string & | name () const |
|
bool | has_name () const |
|
| Identifiable (FontID id) |
|
FontID | id () const |
|
virtual bool | operator== (const Identifiable< FontID > &rhs) const |
|
virtual bool | operator< (const Identifiable< FontID > &rhs) const |
|
void | _bind_id_pointer (ResourceTypePtr ptr) |
|
void | _overwrite_id (FontID new_id) |
|
Font * | set_name_and_get (const std::string &name) |
|
|
static std::string | generate_name (const std::string &family, const uint16_t &size, FontWeight weight, FontStyle style) |
|
static RefCounted< Font >::ptr | create (Args &&... args) |
|
static RefCounted< Font >::ptr | create () |
|
|
class | ui::Widget |
|
class | loaders::TTFLoader |
|
class | loaders::FNTLoader |
|
The documentation for this class was generated from the following files:
- simulant/font.h
- simulant/font.cpp