图片 更多...
#include <gImage.h>
继承自 GPaintDevice .
Public 成员函数 | |
| GImage () | |
| 构造一个空的图片对象,isNull() 将返回true 更多... | |
| GImage (const int16_t numID) | |
| 使用指定的数字ID去构造图片对象 更多... | |
| GImage (const GImage &src) | |
| GImage & | operator= (const GImage &r) |
| virtual | ~GImage () |
| int | load (const int16_t numID) |
| 使用指定的数字ID去加载图片 更多... | |
| bool | isNull () const |
| 返回本图片对象是否为空 更多... | |
| GImage | smoothScale (int width, int height) |
| 缩放到指定的宽和高,返回缩放后的图片对象 更多... | |
| const GString & | imageID () const |
| 返回字符串ID 更多... | |
| int16_t | numID () const |
| 返回数字ID 更多... | |
| const GSize & | size () |
| 获取paint device的大小 更多... | |
| 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) |
图片
| GImage::GImage | ( | ) |
构造一个空的图片对象,isNull() 将返回true
| GImage::GImage | ( | const int16_t | numID | ) |
使用指定的数字ID去构造图片对象
| numID | ... |
| GImage::GImage | ( | const GImage & | src | ) |
|
virtual |
|
inherited |
|
inherited |
| bool GImage::isNull | ( | ) | const |
返回本图片对象是否为空
|
inherited |
| int GImage::load | ( | const int16_t | numID | ) |
使用指定的数字ID去加载图片
| numID | ... |
| int16_t GImage::numID | ( | ) | const |
返回数字ID
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| GImage GImage::smoothScale | ( | int | width, |
| int | height | ||
| ) |
|
inherited |
|
inherited |
1.8.6