ucguifontgen.h

来自「UCGUIFontTool」· C头文件 代码 · 共 44 行

H
44
字号
#ifndef __UCGUIFONTGEN_H__
#define __UCGUIFONTGEN_H__

#ifdef __cplusplus
#define UCGUIFONTGEN_EXPORTS extern "C" __declspec (dllexport)
#else
#define UCGUIFONTGEN_EXPORTS __declspec (dllexport)
#endif

typedef struct {
  BYTE XSize;
  BYTE XDist;
  BYTE BytesPerLine;
} CHARINFO;

typedef struct tagOutPutChar{
  BYTE IsOut;		//是否输出...
  BYTE CharCode[3];	//字符编码...
  tagOutPutChar* lpNext;
} OutPutChar;

typedef struct tagOutPutCharProp{
	char firstCharacter[3];
	char lastCharacter[3];
	char propName[10];
	char* lpPropChar;
	tagOutPutCharProp* lpNext;
} OutPutCharProp;

typedef struct tagOutputFontName{
	char fontName_cn[50];	//中文字体名...
	char fontName_en[50];	//英文字体名...
} OutputFontName;

UCGUIFONTGEN_EXPORTS bool GenOneFontHZ(int area1, int area2);
UCGUIFONTGEN_EXPORTS bool GenAllFontHZ();
UCGUIFONTGEN_EXPORTS bool ShowGenFontHZDlg();

CHARINFO GetOneCharInfo(int area1, int area2);
void WirteHZKFile(char* buf, int len, FILE* fp);
bool GenFontInfo(char* lastPropName);
char* GenFontPropInfo();

#endif //__UCGUIFONTGEN_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?