![]() |
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 () |
| 清空缓存 | |
额外继承的成员函数 | |
Public 类型 继承自 kiwano::Singleton< FontCache > | |
| using | object_type = FontCache |
静态 Public 成员函数 继承自 kiwano::Singleton< FontCache > | |
| static object_type & | GetInstance () |
| static object_type * | GetInstancePtr () |
Protected 成员函数 继承自 kiwano::Singleton< FontCache > | |
| Singleton (const Singleton &)=delete | |
| Singleton & | operator= (const Singleton &)=delete |
静态 Protected 属性 继承自 kiwano::Singleton< FontCache > | |
| static FontCache | instance_ |
字体缓存