22#include <kiwano/core/Resource.h>
23#include <kiwano/platform/NativeObject.hpp>
101 const Vector<String>& GetFamilyNames()
const;
104 Vector<String> family_names_;
163 void RemoveFontCollection(
StringView font_family);
174 String TransformFamily(String family)
const;
177 UnorderedMap<String, RefPtr<FontCollection>> collection_cache_;
182inline const Vector<String>& FontCollection::GetFamilyNames()
const
184 return family_names_;
字体缓存
Definition: Font.h:145
字体集合
Definition: Font.h:89
含有本地指针的对象
Definition: NativeObject.hpp:32
引用计数智能指针
Definition: RefBasePtr.hpp:35
Definition: Singleton.h:28
FontPosture
字体形态
Definition: Font.h:60
FontStretch
字体拉伸
Definition: Font.h:71
字体粗细值
Definition: Font.h:40
Value
Definition: Font.h:42
@ Bold
加粗
Definition: Font.h:48
@ Normal
正常
Definition: Font.h:46