YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Font.cpp 文件参考

平台无关的字体库。 更多...

#include "YSLib/Adaptor/Font.h"
#include "YSLib/Core/yapp.h"
#include "YSLib/Core/yexcept.h"
#include "YSLib/Core/yfilesys.h"
#include <Helper/GUIApplication.h>
#include "YCLib/Debug.h"
#include <algorithm>
Font.cpp 的引用(Include)关系图:

浏览源代码.

函数

::FT_Error simpleFaceRequester (::FTC_FaceID face_id,::FT_Library library,::FT_Pointer,::FT_Face *aface)
 供 FreeType 使用的客户端字体查询函数。
 
const Typeface & FetchDefaultTypeface () ythrow(LoggedEvent)
 取默认字型引用。
 
 style (fs)
 

详细描述

平台无关的字体库。

版本
r2901
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 296
创建时间:
2009-11-12 22:06:13 +0800
修改时间:
2013-04-13 13:10 +0800
文本编码:
UTF-8
模块名称:
YSLib::Adaptor::Font

在文件 Font.cpp 中定义.

函数说明

const Typeface& FetchDefaultTypeface ( )

取默认字型引用。

异常
LoggedEvent记录异常事件。
注解
仅抛出以上异常。
自从
build 194

在文件 Font.cpp182 行定义.

参考 FetchDefaultFontCache() , 以及 YB_UNLIKELY.

函数调用图:

::FT_Error simpleFaceRequester ( ::FTC_FaceID  face_id,
::FT_Library  library,
::FT_Pointer  ,
::FT_Face *  aface 
)

供 FreeType 使用的客户端字体查询函数。

从由 face_id 提供的参数对应的字体文件中读取字体,写入 aface 。

在文件 Font.cpp55 行定义.

参考 YB_LIKELY,YB_UNLIKELY , 以及 platform::yprintf().

参考自 YSLib::Drawing::FontCache::FontCache().

函数调用图:

这是这个函数的调用关系图:

style ( fs  )

在文件 Font.cpp338 行定义.

参考 YSLib::Drawing::FontFamily::GetTypefacePtr().

参考自 YSLib::Drawing::FetchName().

函数调用图:

这是这个函数的调用关系图: