15 #define kResolution (1000 / kRate + 1) * 2
19 #define kKakato 3 //has KAKATO = 2, no KAKATO = 1
21 #define kMixdot (kWidth * 2) * (kWidth * 2 - 1)
22 #define kL2RDfatten 1.1
24 #define kMaxIDSSequenceLength 16
25 #define kMaxIDCLength 16
26 #define kMaxStrokeDataLength 256 // over 12(digits per integer with +/- flag) * 11(columns) + 1(line end)
28 #define FLAG_FLAT_LEFT 1
29 #define FLAG_FLAT_RIGHT 2
30 #define FLAG_FLAT_TOP 4
31 #define FLAG_FLAT_BOTTOM 8
32 #define FLAG_REPLACE_2FF1_TO_2FF5 16
33 #define FLAG_RADICAL_LEFT 32
35 #define FLAG_SURROUND_LEFT 1
36 #define FLAG_SURROUND_RIGHT 2
37 #define FLAG_SURROUND_TOP 4
38 #define FLAG_SURROUND_BOTTOM 8
40 typedef struct _kPoint{
45 kPoint poly[kResolution];
51 void dfDrawFont(int, int, int, int, int, int, int, int, int, int, int);
53 void cdDrawBezier(double, double, double, double, double, double, double, double, int, int);
54 void cdDrawCurve(double, double, double, double, double, double, int, int);
55 void cdDrawLine(double, double, double, double, int, int);
57 void icPolygon(kPoint *, int);