YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
本机字体大小。 更多...
#include <Font.h>
Public 成员函数 | |
NativeFontSize (::FT_FaceRec &, FontSize) | |
NativeFontSize (NativeFontSize &&) ynothrow | |
~NativeFontSize () | |
::FT_SizeRec & | GetSizeRec () const |
void | Activate () const |
激活当前大小。 更多... | |
Private 属性 | |
::FT_Size | size |
额外继承的成员函数 | |
![]() | |
noncopyable (const noncopyable &)=delete | |
禁止复制构造。 更多... | |
noncopyable & | operator= (const noncopyable &)=delete |
禁止赋值复制。 更多... | |
noncopyable ()=default | |
protected 构造:默认实现。 更多... | |
~noncopyable ()=default | |
protected 析构:默认实现。 更多... | |
YSLib::Drawing::NativeFontSize::NativeFontSize | ( | ::FT_FaceRec & | face, |
FontSize | s | ||
) |
YSLib::Drawing::NativeFontSize::NativeFontSize | ( | NativeFontSize && | ns | ) |
void YSLib::Drawing::NativeFontSize::Activate | ( | ) | const |
激活当前大小。
::FT_Activate_Size
。 参考 YSLib::Drawing::face, size , 以及 YAssertNonnull.
参考自 YSLib::Drawing::Typeface::LookupBitmap() , 以及 NativeFontSize().
FT_SizeRec & YSLib::Drawing::NativeFontSize::GetSizeRec | ( | ) | const |
参考 platform::Descriptions::Critical, size , 以及 YB_UNLIKELY.
|
private |
参考自 Activate(), GetSizeRec(), NativeFontSize() , 以及 ~NativeFontSize().