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

使用 Graphics 定义的基本图像。 更多...

#include <ygdi.h>

类 YSLib::Drawing::BasicImage 继承关系图:
YSLib::Drawing::BasicImage 的协作图:

Public 成员函数

 DefDeCtor (BasicImage) BasicImage(const Graphics &g)
 
 ImplI (IImage) DefGetter(const ynothrow override
 
const Graphics *this ImplI (IImage) DefClone(const override
 
const Graphics *this BasicImage ImplI (IImage) DefSetter(const Size &
 

Public 属性

const Graphics Context
 
const Graphics *this BasicImage Size
 

额外继承的成员函数

- 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
 无效图形接口上下文。 更多...
 

详细描述

使用 Graphics 定义的基本图像。

自从
build 406

在文件 ygdi.h167 行定义.

成员函数说明

YSLib::Drawing::BasicImage::DefDeCtor ( BasicImage  ) const
inline

在文件 ygdi.h171 行定义.

YSLib::Drawing::BasicImage::ImplI ( IImage  ) const
override
const Graphics * this YSLib::Drawing::BasicImage::ImplI ( IImage  ) const
override
自从
build 409
const Graphics * this BasicImage YSLib::Drawing::BasicImage::ImplI ( IImage  ) const

类成员变量说明

const Graphics YSLib::Drawing::BasicImage::Context

在文件 ygdi.h184 行定义.

const Graphics * this BasicImage YSLib::Drawing::BasicImage::Size

在文件 ygdi.h190 行定义.


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