CMGDK r49-rc2
组合类型 | 名字空间 | 函数
K:/CMGDKv18/SDK/Source/Graphics/HGP/HGPOther.cpp文件参考
#include "HGPOther.h"
#include <hgl/type/TDF.H>
#include <hgl/2d/VSBase.H>
#include <hgl/stream/FileStream.H>

组合类型

struct  hgl::BitmapLA
struct  hgl::BitmapRGBA

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


函数

void hgl::SetClearSimplePixel (bool)
 设置色差容差
void hgl::SetSameColor (int)
uint8hgl::GetScreenData (int, int, int, int, ColorType, bool=false)
uint8hgl::GetScreenData (int, int, int, int, int, int, ColorType, bool=false)
HGP * hgl::CopyScreenToHGP (int, int, int, int, uint=GL_RGB8)
 根据当前屏幕图像生成一个HGP
bool hgl::SaveBitmapToHGP (const wchar_t *, int, int, ColorType, void *, const wchar_t *ca=L"RLE", float=1)
 保存一个位图数据成HGP文件
bool hgl::SaveScreenToHGP (const wchar_t *, int, int, int, int, int, int, const wchar_t *ca=L"RLE", float=1)
 保存当前屏幕图像成HGP文件
bool hgl::SaveScreenToHGP (const wchar_t *, int, int, int, int, const wchar_t *ca=L"RLE", float=1)
 保存当前屏幕图像成HGP文件
template<typename T >
void hgl::CheckBorder (int &l, int &t, int &w, int &h, T *data)
template<typename T >
T * hgl::ClipBorder (int &l, int &t, int &w, int &h, T **data)
void * hgl::ClipBorder (int &l, int &t, int &w, int &h, void **data, ColorType ct)
int __inline hgl::CompColor (uchar *src, uchar *dst, int comp_color, int color)
void hgl::CheckSame (int &l, int &t, int &w, int &h, uchar *cur, int ol, int ot, int ow, int oh, uchar *ori, int color, bool clear_same_point)
bool hgl::ConvertImg2HGP (const wchar_t *img_filename, const wchar_t *hgp_filename, bool merge, bool same, ColorType ct, const wchar_t *ca, float rate)
bool hgl::ConvertMultiLayerImageToHGP (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float=1)
 转换多层图片到HGP
bool hgl::ConvertMonoLayerImageToHGP (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float=1)
 转换单层图片到HGP
bool hgl::ConvertSameLayerImageToHGP (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float=1)
 转换多层图片到HGP(并自动裁剪掉每一层与底层相同内容的部分)
bool hgl::ConvertSameLayerImageToHGPTest (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float=1)
 转换多层图片到HGP(并自动裁剪掉每一层与底层相同内容的部分)
bool hgl::ConvertPSDToMapHGP (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float=1)
 转换PSD到地图用HGP
void * hgl::LoadHGP (TDFNode *, uint &, int &, int &, int8 &)
void * hgl::LoadHGP (Stream *, uint &, int &, int &, int8 &)
void * hgl::LoadHGP (const wchar_t *, uint &, int &, int &, int8 &)
void * hgl::LoadHGP (HAC *, const wchar_t *, uint &, int &, int &, int8 &)
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义