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

图形设备。 更多...

#include <ydevice.h>

类 YSLib::Devices::GraphicDevice 继承关系图:
YSLib::Devices::GraphicDevice 的协作图:

Public 成员函数

 GraphicDevice (SDst w, SDst h, Drawing::BitmapPtr p={}) ynothrow
 构造:指定宽度、高度和缓冲区指针。 更多...
 

额外继承的成员函数

- Protected 成员函数 继承自 YSLib::Drawing::Graphics
 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
 < 取缓冲区占用空间。 更多...
 
- Protected 属性 继承自 YSLib::Drawing::Graphics
BitmapPtr pBuffer
 显示缓冲区指针。 更多...
 
Size sGraphics
 
 BitmapPtr
 
 BufferPtr
 
pBuffer SDst
 
pBuffer Width
 
pBuffer sGraphics Width size_t
 
pBuffer sGraphics Width SizeOfBuffer
 
- 静态 Protected 属性 继承自 YSLib::Drawing::Graphics
static const Graphics Invalid
 无效图形接口上下文。 更多...
 
- Private 成员函数 继承自 ystdex::noncopyable
 noncopyable (const noncopyable &)=delete
 禁止复制构造。 更多...
 
noncopyableoperator= (const noncopyable &)=delete
 禁止赋值复制。 更多...
 
 noncopyable ()=default
 protected 构造:默认实现。 更多...
 
 ~noncopyable ()=default
 protected 析构:默认实现。 更多...
 

详细描述

图形设备。

自从
build 218

在文件 ydevice.h45 行定义.

构造及析构函数说明

YSLib::Devices::GraphicDevice::GraphicDevice ( SDst  w,
SDst  h,
Drawing::BitmapPtr  p = {} 
)
inline

构造:指定宽度、高度和缓冲区指针。

自从
build 319

在文件 ydevice.h53 行定义.


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