|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
平台无关的字体库。 更多...
#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>
命名空间 | |
| 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 | |
平台无关的字体库。
在文件 Font.cpp 中定义.
| #define SBIT_CHECK_BYTE | ( | d | ) | (temp = ::FT_Byte(d), temp == d) |
| #define SBIT_CHECK_CHAR | ( | d | ) | (temp = ::FT_Char(d), temp == d) |