00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00023 #ifndef SCBCONFIG_H_
00024 #define SCBCONFIG_H_
00025 #include <stdio.h>
00026
00028
00030 #define SCB_LIB_VERSION "1.1"
00031 #define SCB_LIB_ORG "iRex Technologies"
00032
00033 #define SCB_DEF_SCREEN_UNITS "px"
00034 #define SCB_DEF_SCREEN_DPI 160
00035
00036
00037 #define SCB_RET_OK 1
00038 #define SCB_RET_ERR 0
00039 #define SCB_INVALID_COUNT -1
00040
00041
00042 #define SCB_DEF_STROKE_POINTSIZE 40
00043 #define SCB_DEF_STROKE_LAYER 0
00044 #define SCB_DEF_STROKE_LINESTYLE SCB_LINE_SOLID
00045 #define SCB_DEF_STROKE_PENSIZE 3
00046
00047
00048 #define SCB_DEF_FAST_DRAW_COUNT 10
00049 #define SCB_DEF_FAST_DRAW_TIME 100 * 100 // micro second
00050 #define SCB_DEF_FAST_DRAW_BUF_LEN 25 // must be 25!!!!!!!!!
00051
00052
00053 #define SCB_MAX_PAGEID_LEN 256
00054 #define SCB_DEF_PAGE_LEFT 0
00055 #define SCB_DEF_PAGE_TOP 0
00056 #define SCB_DEF_PAGE_RIGHT 768
00057 #define SCB_DEF_PAGE_BOTTOM 1024
00058
00059
00060 #define SCB_MAX_PATH 1024
00061
00062
00063 #define SCB_MAX_XML_PATH 256
00064
00065
00066 #define SCB_MAX_COLOR_LEN 8
00067
00068
00069 #define SCB_DEF_ERASE_SIZE 1
00070
00071 #define SCB_DEF_CMD_ACT_SIZE 10
00072
00073 #ifdef __cplusplus
00074 extern "C"
00075 {
00076 #endif
00077
00078
00079
00080 typedef struct _ScbFastDrawParam
00081 {
00082 int count;
00083 int time;
00084 }ScbFastDrawParam;
00085 typedef ScbFastDrawParam * ScbFastDrawParamPtr;
00086
00087 void scb_cfg_init_fast_draw_param();
00088 void scb_cfg_set_fast_draw_param(ScbFastDrawParamPtr ptr);
00089 void scb_cfg_get_fast_draw_param(ScbFastDrawParamPtr ptr);
00090
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094
00095
00096 #endif