CommonHead.h
资源名称:fontcurve.rar [点击查看]
上传用户:sz81710966
上传日期:2013-03-01
资源大小:409k
文件大小:1k
源码类别:
多国语言处理
开发平台:
Visual C++
- #ifndef COMMON_HEAD_H
- #define COMMON_HEAD_H
- #include <afxtempl.h>
- #define TEST_CODE_LENGTH 2
- #define LEN_MAX_DIRECTORY 255
- #define LEN_WIDTH_MAX 32
- #define LEN_WIDTH_MIN 8
- #define LEN_WIDTH_INIT 16
- #define COLOR_BIT_1 1
- #define COLOR_BIT_8 8
- #define COLOR_BIT_16 16
- #define COLOR_BIT_24 24
- #define TRAN_FILE_BUF_LEN 1024
- #define GB2312_BEGIN 0xA1A1
- #define GBK_BEGIN 0x8140
- #define GB18030_BEGIN 0x8140
- #define BIG5_BEGIN 0x8140
- #define UNICODE_BEGIN 0x4E00
- #define GB2312_END 0xF7FE
- #define GBK_END 0xFEFE
- #define GB18030_END 0xFEFE
- #define BIG5_END 0xFEFE
- #define UNICODE_END 0x9F00
- #define SOURCE_ALL_CODE 0
- #define SOURCE_HAND_EDIT 1
- #define SOURCE_SELECT_FILE 2
- #define FILE_TEMP_TRAN "C:\temp.txt"
- typedef struct tagFONTSHOWSIZE
- {
- CSize memSize;
- CSize fontSize;
- int colorUnit;
- }FONT_SHOW_SIZE;
- typedef struct tagFONT_DIFF_OFFSET
- {
- int realOffset;
- int diffCount;
- }FONT_DIFF_OFFSET;
- typedef CList < FONT_DIFF_OFFSET * ,FONT_DIFF_OFFSET * > COffsetDiffList;
- #endif