可绘制对象的基类 更多...
#include <gPaintDevice.h>
继承自 GSize .
被 GImage 继承.
Public 成员函数 | |
GPaintDevice () | |
构造一个宽高均为0的空对象 更多... | |
GPaintDevice (int w, int h) | |
根据指定的宽高去构造一个 paint device 对象 更多... | |
virtual | ~GPaintDevice () |
const GSize & | size () |
获取paint device的大小 更多... | |
bool | isNull () const |
bool | isEmpty () const |
bool | isValid () const |
T_OFFSET | width () const |
T_OFFSET | height () const |
void | setWidth (T_OFFSET w) |
void | setHeight (T_OFFSET h) |
void | transpose () |
GSize | expandedTo (const GSize &) const |
GSize | boundedTo (const GSize &) const |
T_OFFSET & | rwidth () |
T_OFFSET & | rheight () |
GSize & | operator+= (const GSize &) |
GSize & | operator-= (const GSize &) |
GSize & | operator*= (double c) |
GSize & | operator/= (double c) |
可绘制对象的基类
GPaintDevice::GPaintDevice | ( | ) |
构造一个宽高均为0的空对象
GPaintDevice::GPaintDevice | ( | int | w, |
int | h | ||
) |
根据指定的宽高去构造一个 paint device 对象
w | ... |
h | ... |
|
virtual |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |