|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
字型标识。 更多...
#include <Font.h>


Public 成员函数 | |
| Typeface (FontCache &, const FontPath &, u32=0) | |
| 使用字体缓存引用在指定字体文件路径读取指定索引的字型并构造对象。 | |
| bool | operator== (const Typeface &) const |
| 比较:相等关系。 | |
| bool | operator< (const Typeface &) const |
| 比较:严格递增偏序关系。 | |
| FamilyName | GetFamilyName () const ynothrow |
| const FontFamily & | GetFontFamily () const ynothrow |
| 取字型家族。 | |
| const StyleName & | GetStyleName () const ynothrow |
| ::FT_Int | GetCMapIndex () const ynothrow |
| 取字符映射索引号。 | |
Public 属性 | |
| const FontPath | Path |
Private 属性 | |
| FontFamily * | pFontFamily |
| StyleName | style_name |
| ::FT_Long | face_index |
| ::FT_Int | cmap_index |
友元 | |
| friend::FT_Error | simpleFaceRequester (::FTC_FaceID,::FT_Library,::FT_Pointer,::FT_Face *) |
| 供 FreeType 使用的客户端字体查询函数。 | |
额外继承的成员函数 | |
Private 成员函数 继承自 ystdex::noncopyable | |
| noncopyable (const noncopyable &)=delete | |
| 禁止复制构造。 | |
| noncopyable & | operator= (const noncopyable &)=delete |
| 禁止赋值复制。 | |
| noncopyable ()=default | |
protected 构造:默认实现。 | |
| ~noncopyable ()=default | |
protected 析构:默认实现。 | |
使用字体缓存引用在指定字体文件路径读取指定索引的字型并构造对象。
bool(pFontFamily) 。 参考 YSLib::Drawing::FontCache::manager,YSLib::Drawing::FontCache::mFamilies,pFontFamily,YSLib::Drawing::FontCache::sFaces,YB_LIKELY,YB_UNLIKELY,ynew , 以及 yunseq().

|
inline |
|
inline |
|
inline |
|
inline |
参考自 YSLib::Drawing::FontFamily::operator+=() , 以及 YSLib::Drawing::FontFamily::operator-=().

| bool Typeface::operator< | ( | const Typeface & | rhs | ) | const |
| bool Typeface::operator== | ( | const Typeface & | rhs | ) | const |
|
friend |
|
private |
参考自 operator<() , 以及 operator==().
| const FontPath YSLib::Drawing::Typeface::Path |
参考自 operator<() , 以及 operator==().
|
private |
参考自 Typeface().