![]() |
Kiwano Engine v1.3.x
|
字体缓存 更多...
#include <Font.h>
Public 成员函数 | |
void | AddFontCollection (RefPtr< FontCollection > collection) |
添加字体集合缓存 | |
void | AddFontCollection (StringView font_family, RefPtr< FontCollection > collection) |
添加字体集合缓存 | |
RefPtr< FontCollection > | GetFontCollection (StringView font_family) const |
获取字体集合缓存 | |
void | RemoveFontCollection (StringView font_family) |
移除字体集合缓存 | |
void | Clear () |
清空缓存 | |
额外继承的成员函数 | |
![]() | |
using | object_type = FontCache |
![]() | |
static object_type & | GetInstance () |
static object_type * | GetInstancePtr () |
![]() | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
![]() | |
static FontCache | instance_ |
字体缓存