|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
#include <ydevice.h>


Public 成员函数 | |
| Screen (SDst w, SDst h, Drawing::BitmapPtr p={}) ynothrow | |
| 构造:指定宽度、高度和缓冲区指针。 | |
| virtual Drawing::BitmapPtr | GetCheckedBufferPtr () const ynothrow |
| 取指针。 | |
| virtual void | Update (Drawing::BitmapPtr) ynothrow |
| 更新。 | |
Public 成员函数 继承自 YSLib::Devices::GraphicDevice | |
| GraphicDevice (SDst w, SDst h, Drawing::BitmapPtr p={}) ynothrow | |
| 构造:指定宽度、高度和缓冲区指针。 | |
| virtual | ~GraphicDevice () |
| 析构:默认实现。 | |
| const Graphics & | GetContext () const ynothrow |
额外继承的成员函数 | |
Protected 成员函数 继承自 YSLib::Drawing::Graphics | |
| yconstfn | Graphics (BitmapPtr b={}, const Size &s={}) ynothrow |
| 构造:使用指定位图指针和大小。 | |
| yconstfn | Graphics (const Graphics &g) ynothrow |
| 复制构造:浅复制。 | |
| ~Graphics () | |
| 析构:空实现。 | |
| bool | operator! () const ynothrow |
| 判断无效性。 | |
| BitmapPtr | operator[] (size_t) const ynothrow |
| 取指定行首元素指针。 | |
| operator bool () const ynothrow | |
| 判断有效性。 | |
| BitmapPtr | GetBufferPtr () const ynothrow |
| const Size & | GetSize () const ynothrow |
| SDst | GetWidth () const ynothrow |
| SDst | GetHeight () const ynothrow |
| size_t | GetSizeOfBuffer () const ynothrow |
| 取缓冲区占用空间。 | |
| BitmapPtr | at (size_t) const ythrow(GeneralEvent |
| 取指定行首元素指针。 | |
静态 Protected 属性 继承自 YSLib::Drawing::Graphics | |
| static const Graphics | Invalid |
| 无效图形接口上下文。 | |
|
inline |
|
virtual |
|
virtual |