Egrome
 
载入中...
搜索中...
未找到
PixelMap类 参考final

位图类 更多...

#include <PixelMap.h>

类 PixelMap 继承关系图:
Object

Public 成员函数

 PixelMap (int width, int height) noexcept
 
 PixelMap (const PixelMap &other) noexcept
 
 PixelMap (PixelMap &&other) noexcept
 
PixelMapoperator= (const PixelMap &other) noexcept
 
PixelMapoperator= (PixelMap &&other) noexcept
 
PainterbeginPaint () noexcept
 开始绘制
 
void endPaint (const Painter &painter)
 结束绘制
 
SizeData size () noexcept
 
Size size () const noexcept
 
- Public 成员函数 继承自 Object
 Object () noexcept
 构造函数
 
virtual ~Object () noexcept
 析构函数
 

友元

class Painter
 
void * getTarget (Painter *)
 

详细描述

位图类

成员函数说明

◆ beginPaint()

Painter & PixelMap::beginPaint ( )
noexcept

开始绘制

返回
针对于此位图的绘制器

◆ endPaint()

void PixelMap::endPaint ( const Painter & painter)

结束绘制

参数
painter通过beginPaint获得的绘制器
painter
异常
WrongPainter

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