YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
YSLib::Drawing::CharBitmap类 参考final

字符位图。 更多...

#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
 

详细描述

字符位图。

警告
若为空时调用成员函数时行为未定义。
自从
build 147

在文件 Font.h 第 357 行定义.

成员类型定义说明

在文件 Font.h 第 360 行定义.

在文件 Font.h 第 372 行定义.

自从
build 415

在文件 Font.h 第 374 行定义.

在文件 Font.h 第 375 行定义.

在文件 Font.h 第 376 行定义.

成员枚举类型说明

自从
build 415
枚举值
None 
Mono 
Gray 
Gray2 
Gray4 
LCD 
LCD_V 

在文件 Font.h 第 362 行定义.

构造及析构函数说明

yconstfn YSLib::Drawing::CharBitmap::CharBitmap ( const NativeType &  b)
inline

使用本机类型对象构造字符位图对象。

在文件 Font.h 第 386 行定义.

成员函数说明

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
自从
build 415
build 414
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
自从
build 415
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

类成员变量说明

NativeType YSLib::Drawing::CharBitmap::bitmap
private

在文件 Font.h 第 379 行定义.

yconstfn YSLib::Drawing::CharBitmap::Buffer

在文件 Font.h 第 392 行定义.

yconstfn bitmap buffer yconstfn YSLib::Drawing::CharBitmap::GrayLevel

在文件 Font.h 第 397 行定义.

yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn YSLib::Drawing::CharBitmap::Left

在文件 Font.h 第 399 行定义.

yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn YSLib::Drawing::CharBitmap::Top

在文件 Font.h 第 402 行定义.

yconstfn bitmap buffer yconstfn bitmap max_grays yconstfn bitmap left yconstfn bitmap top yconstfn YSLib::Drawing::CharBitmap::XAdvance

在文件 Font.h 第 404 行定义.


该类的文档由以下文件生成: