|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
字符位图。 更多...
#include <Font.h>
Public 类型 | |
| enum | FormatType { None = ::FT_PIXEL_MODE_NONE, Mono = ::FT_PIXEL_MODE_MONO, Gray = ::FT_PIXEL_MODE_GRAY, Gray2 = ::FT_PIXEL_MODE_GRAY2, Gray4 = ::FT_PIXEL_MODE_GRAY4, LCD = ::FT_PIXEL_MODE_LCD, LCD_V = ::FT_PIXEL_MODE_LCD_V } |
| using | BufferType = ::FT_Byte * |
| using | NativeType = ::FTC_SBit |
| using | PitchType = ::FT_Short |
| using | ScaleType = ::FT_Byte |
| using | SignedScaleType = ::FT_Char |
Public 成员函数 | |
| yconstfn | CharBitmap (const NativeType &b) |
| 使用本机类型对象构造字符位图对象。 更多... | |
| yconstfn | DefCvt (const ynothrow, NativeType, bitmap) yconstfn DefGetter(const ynothrow |
| yconstfn bitmap buffer yconstfn | DefGetter (const ynothrow, FormatType, Format, FormatType(bitmap->format)) yconstfn DefGetter(const ynothrow |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn | DefGetter (const ynothrow, ScaleType, Height, bitmap->height) yconstfn DefGetter(const ynothrow |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn | DefGetter (const ynothrow, PitchType, Pitch, bitmap->pitch) yconstfn DefGetter(const ynothrow |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn bitmap top yconstfn | DefGetter (const ynothrow, ScaleType, Width, bitmap->width) yconstfn DefGetter(const ynothrow |
Public 属性 | |
| yconstfn | BufferType |
| yconstfn | Buffer |
| yconstfn bitmap buffer yconstfn | ScaleType |
| yconstfn bitmap buffer yconstfn | GrayLevel |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn | SignedScaleType |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn | Left |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn | SignedScaleType |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn | Top |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn bitmap top yconstfn | SignedScaleType |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn bitmap top yconstfn | XAdvance |
Private 属性 | |
| NativeType | bitmap |
| using YSLib::Drawing::CharBitmap::BufferType = ::FT_Byte* |
| using YSLib::Drawing::CharBitmap::NativeType = ::FTC_SBit |
| using YSLib::Drawing::CharBitmap::PitchType = ::FT_Short |
| using YSLib::Drawing::CharBitmap::ScaleType = ::FT_Byte |
| using YSLib::Drawing::CharBitmap::SignedScaleType = ::FT_Char |
|
inline |
| yconstfn YSLib::Drawing::CharBitmap::DefCvt | ( | const ynothrow | , |
| NativeType | , | ||
| bitmap | |||
| ) | const |
| yconstfn bitmap buffer yconstfn YSLib::Drawing::CharBitmap::DefGetter | ( | const ynothrow | , |
| FormatType | , | ||
| Format | , | ||
| FormatType(bitmap->format) | |||
| ) | const |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn YSLib::Drawing::CharBitmap::DefGetter | ( | const ynothrow | , |
| ScaleType | , | ||
| Height | , | ||
| bitmap-> | height | ||
| ) | const |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn YSLib::Drawing::CharBitmap::DefGetter | ( | const ynothrow | , |
| PitchType | , | ||
| Pitch | , | ||
| bitmap-> | pitch | ||
| ) | const |
| yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn bitmap top yconstfn YSLib::Drawing::CharBitmap::DefGetter | ( | const ynothrow | , |
| ScaleType | , | ||
| Width | , | ||
| bitmap-> | width | ||
| ) | const |
|
private |