YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
平台无关的字体库。 更多...
#include "../Core/YModules.h"
#include <YSLib/Core/yfunc.hpp>
#include <YSLib/Core/yobject.h>
#include <string>
#include <YSLib/Core/yexcept.h>
#include <YSLib/Adaptor/YTextBase.h>
#include <YSLib/Core/Cache.hpp>
#include <ft2build.h>
#include <FT_FREETYPE_H>
#include <FT_CACHE_H>
类 | |
class | YSLib::Drawing::FontException |
字体异常。 更多... | |
class | YSLib::Drawing::NativeFontSize |
本机字体大小。 更多... | |
class | YSLib::Drawing::FontFamily |
字型家族 (Typeface Family) 标识。 更多... | |
class | YSLib::Drawing::Typeface |
字型标识。 更多... | |
struct | YSLib::Drawing::Typeface::BitmapKey |
struct | YSLib::Drawing::Typeface::BitmapKeyHash |
struct | YSLib::Drawing::Typeface::SmallBitmapData |
class | YSLib::Drawing::CharBitmap |
字符位图。 更多... | |
class | YSLib::Drawing::FontCache |
字体缓存。 更多... | |
class | YSLib::Drawing::Font |
字体:字模,包含字型、样式和大小。 更多... | |
命名空间 | |
YSLib | |
YSLib::Drawing | |
图形处理。 | |
类型定义 | |
using | YSLib::Drawing::FontSize = u8 |
字体大小。 更多... | |
using | YSLib::Drawing::FontPath = std::string |
字体文件路径。 更多... | |
using | YSLib::Drawing::FamilyName = std::string |
字型家族名称。 更多... | |
using | YSLib::Drawing::StyleName = std::string |
字型样式名称。 更多... | |
枚举 | |
enum | YSLib::Drawing::FontStyle : u8 { YSLib::Drawing::FontStyle::Regular = 0, YSLib::Drawing::FontStyle::Bold = 1, YSLib::Drawing::FontStyle::Italic = 2, YSLib::Drawing::FontStyle::Underline = 4, YSLib::Drawing::FontStyle::Strikeout = 8 } |
字体样式。 更多... | |
函数 | |
YF_API const Typeface & | YSLib::Drawing::FetchDefaultTypeface () |
取默认字型引用。 更多... | |
平台无关的字体库。
在文件 Font.h 中定义.