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

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

#include "Helper/YModules.h"
#include <YFM_YSLib_Adaptor_Font>
#include <YFM_YSLib_Core_YApplication>
#include <YFM_YSLib_Service_FileSystem>
#include <YFM_Helper_Initialization>
#include <YFM_YCLib_Debug>
#include <algorithm>
#include <FT_SIZES_H>
#include <FT_BITMAP_H>
#include <internal/internal.h>
#include <FT_INTERNAL_OBJECTS_H>
#include <FT_INTERNAL_TRUETYPE_TYPES_H>
Font.cpp 的引用(Include)关系图:

浏览源代码.

命名空间

 YSLib
 
 YSLib::Drawing
 图形处理。
 

宏定义

#define SBIT_CHECK_CHAR(d)   (temp = ::FT_Char(d), temp == d)
 
#define SBIT_CHECK_BYTE(d)   (temp = ::FT_Byte(d), temp == d)
 

函数

auto YSLib::Drawing::error (::FT_New_Face(cache.library, Path.c_str(), face_index,&face))
 
 YSLib::Drawing::if (YB_LIKELY(!error)) if(YB_LIKELY(!(error
 
 YSLib::Drawing::if (YB_UNLIKELY(error))
 
const FamilyName YSLib::Drawing::family_name (face->family_name)
 
auto & YSLib::Drawing::p_ff (cache.mFamilies[family_name])
 
 YSLib::Drawing::if (!p_ff) p_ff.reset(new FontFamily(cache
 
return pair
< std::reference_wrapper
< FontFamily >
, std::reference_wrapper
<::FT_FaceRec_ > > * 
YSLib::Drawing::p_ff (),*face
 
 YSLib::Drawing::bitmap_cache (2047U)
 
 YSLib::Drawing::glyph_index_cache ()
 
YF_API const Typeface & YSLib::Drawing::FetchDefaultTypeface ()
 取默认字型引用。 更多...
 

变量

Typeface::Typeface(FontCache
&cache, const FontPath &path,
u32 i)::FT_Face 
YSLib::Drawing::face
 
 YSLib::Drawing::family_name
 

详细描述

平台无关的字体库。

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

在文件 Font.cpp 中定义.

宏定义说明

#define SBIT_CHECK_BYTE (   d)    (temp = ::FT_Byte(d), temp == d)
#define SBIT_CHECK_CHAR (   d)    (temp = ::FT_Char(d), temp == d)