YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
#include <ydevice.h>
Public 成员函数 | |
GraphicDevice (SDst w, SDst h, Drawing::BitmapPtr p={}) ynothrow | |
构造:指定宽度、高度和缓冲区指针。 | |
virtual | ~GraphicDevice () |
析构:默认实现。 | |
const Graphics & | GetContext () const ynothrow |
额外继承的成员函数 | |
![]() | |
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 |
取指定行首元素指针。 | |
![]() | |
static const Graphics | Invalid |
无效图形接口上下文。 | |
![]() | |
noncopyable (const noncopyable &)=delete | |
禁止复制构造。 | |
noncopyable & | operator= (const noncopyable &)=delete |
禁止赋值复制。 | |
noncopyable ()=default | |
protected 构造:默认实现。 | |
~noncopyable ()=default | |
protected 析构:默认实现。 | |
|
inline |
|
inlinevirtual |