|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
二维图形接口上下文。 更多...
#include <ygdibase.h>


Public 成员函数 | |
| Graphics () ynothrow | |
| 默认构造:使用空指针和大小。 更多... | |
| yconstfn | Graphics (BitmapPtr b, const Size &s={}) ynothrow |
| 构造:使用指定位图指针和大小。 更多... | |
| yconstfn | Graphics (const Graphics &g) ynothrow |
| 复制构造:浅复制。 更多... | |
| DefDeDtor (Graphics) PDefHOp(bool | |
| 析构:默认实现。 更多... | |
| const ynothrow | ImplRet (!bool(*this)) BitmapPtr operator[](size_t) const ynothrow |
| 取指定行首元素指针。 更多... | |
| DefCvt (const ynothrow, bool, pBuffer &&sGraphics.Width!=0 &&sGraphics.Height!=0) DefGetter(const ynothrow | |
| 判断有效性。 更多... | |
| pBuffer | DefGetter (const ynothrow, const Size &, Size, sGraphics) DefGetter(const ynothrow |
| pBuffer sGraphics Width | DefGetter (const ynothrow, SDst, Height, sGraphics.Height) DefGetter(const ynothrow |
| pBuffer sGraphics Width | sizeof (PixelType)*GetAreaOf(sGraphics)) BitmapPtr at(size_t) const ythrow(GeneralEvent |
| < 取缓冲区占用空间。 更多... | |
Public 属性 | |
| BitmapPtr | |
| BufferPtr | |
| pBuffer | SDst |
| pBuffer | Width |
| pBuffer sGraphics Width | size_t |
| pBuffer sGraphics Width | SizeOfBuffer |
静态 Public 属性 | |
| static const Graphics | Invalid |
| 无效图形接口上下文。 更多... | |
Protected 属性 | |
| BitmapPtr | pBuffer |
| 显示缓冲区指针。 更多... | |
| Size | sGraphics |
|
inline |
|
explicit |
判断有效性。
| YSLib::Drawing::Graphics::DefDeDtor | ( | Graphics | ) |
析构:默认实现。
判断无效性。
| pBuffer YSLib::Drawing::Graphics::DefGetter | ( | const ynothrow | , |
| const Size & | , | ||
| Size | , | ||
| sGraphics | |||
| ) | const |
| pBuffer sGraphics Width YSLib::Drawing::Graphics::DefGetter | ( | const ynothrow | , |
| SDst | , | ||
| Height | , | ||
| sGraphics. | Height | ||
| ) | const |
| const ynothrow YSLib::Drawing::Graphics::ImplRet | ( | !bool * | this | ) | const |
取指定行首元素指针。
< 取缓冲区占用空间。
取指定行首元素指针。
| GeneralEvent | 缓冲区指针为空。 |
| std::out_of_range | 参数越界。 |
| YSLib::Drawing::Graphics::BitmapPtr |
在文件 ygdibase.h 第 788 行定义.
| YSLib::Drawing::Graphics::BufferPtr |
在文件 ygdibase.h 第 788 行定义.
|
static |
无效图形接口上下文。
在文件 ygdibase.h 第 724 行定义.
|
protected |
显示缓冲区指针。
在文件 ygdibase.h 第 731 行定义.
参考自 YSLib::Drawing::CompactPixmap::CompactPixmap(), YSLib::Drawing::CompactPixmap::SetContent() , 以及 YSLib::Drawing::CompactPixmap::SetSize().
| pBuffer YSLib::Drawing::Graphics::SDst |
在文件 ygdibase.h 第 790 行定义.
|
protected |
在文件 ygdibase.h 第 792 行定义.
在文件 ygdibase.h 第 792 行定义.
| pBuffer YSLib::Drawing::Graphics::Width |
在文件 ygdibase.h 第 790 行定义.