CMGDK r49-rc2
|
#include <HGPOther.h>
公有成员 | |
Image () | |
~Image () | |
bool | LoadOther (const wchar_t *, bool, bool, bool, int=ctNone, bool=false) |
void | SaveToHGP (const wchar_t *, const wchar_t *ca, float) const |
void | SaveToTEX (const wchar_t *, const wchar_t *ca, float) const |
void | SaveToMapHGP (const wchar_t *, const wchar_t *ca, float) const |
公有属性 | |
int | width |
int | height |
int | layer_number |
ObjectList< ImageLayer > | layer |
hgl::Image::Image | ( | ) |
hgl::Image::~Image | ( | ) |
bool hgl::Image::LoadOther | ( | const wchar_t * | filename, |
bool | merge, | ||
bool | clip_border, | ||
bool | clip_same, | ||
int | ct = ctNone , |
||
bool | clear_same_point = false |
||
) |
加载图片
filename | 文件名 |
merge | 是否自动合层 |
clip_border | 是否裁剪掉边框 |
clip_same | 是否裁剪掉相同部分 |
ct | |
clear_same_point | 清除相同颜色的点 |
void hgl::Image::SaveToHGP | ( | const wchar_t * | filename, |
const wchar_t * | ca, | ||
float | rate | ||
) | const |
void hgl::Image::SaveToMapHGP | ( | const wchar_t * | filename, |
const wchar_t * | ca, | ||
float | rate | ||
) | const |
void hgl::Image::SaveToTEX | ( | const wchar_t * | , |
const wchar_t * | ca, | ||
float | |||
) | const |