44 #ifndef AGS_LIB_FREETYPE_AHTYPES_H 45 #define AGS_LIB_FREETYPE_AHTYPES_H 51 #include "ags/lib/freetype-2.1.3/autohint/ahloader.h" 55 namespace FreeType213 {
67 #undef AH_OPTION_NO_WEAK_INTERPOLATION 76 #undef AH_OPTION_NO_STRONG_INTERPOLATION 84 #undef AH_HINT_METRICS 93 #undef AH_OPTION_NO_EXTREMUM_EDGES 96 #define AH_MAX_WIDTHS 12 97 #define AH_MAX_HEIGHTS 12 103 typedef FT_Int AH_Angle;
106 #define AH_FLAG_NONE 0 109 #define AH_FLAG_CONIC 1 110 #define AH_FLAG_CUBIC 2 111 #define AH_FLAG_CONTROL ( AH_FLAG_CONIC | AH_FLAG_CUBIC ) 114 #define AH_FLAG_EXTREMA_X 4 115 #define AH_FLAG_EXTREMA_Y 8 118 #define AH_FLAG_ROUND_X 16 119 #define AH_FLAG_ROUND_Y 32 122 #define AH_FLAG_TOUCH_X 64 123 #define AH_FLAG_TOUCH_Y 128 126 #define AH_FLAG_WEAK_INTERPOLATION 256 127 #define AH_FLAG_INFLECTION 512 129 typedef FT_Int AH_Flags;
132 #define AH_EDGE_NORMAL 0 133 #define AH_EDGE_ROUND 1 134 #define AH_EDGE_SERIF 2 135 #define AH_EDGE_DONE 4 137 typedef FT_Int AH_Edge_Flags;
141 #define AH_DIR_NONE 4 142 #define AH_DIR_RIGHT 1 143 #define AH_DIR_LEFT -1 145 #define AH_DIR_DOWN -2 147 typedef FT_Int AH_Direction;
149 typedef struct AH_PointRec_ *AH_Point;
150 typedef struct AH_SegmentRec_ *AH_Segment;
151 typedef struct AH_EdgeRec_ *AH_Edge;
161 AH_Direction out_dir;
184 AH_Segment edge_next;
217 AH_Direction vert_major_dir;
218 AH_Direction horz_major_dir;
222 FT_Pos edge_distance_threshold;
238 FT_Int num_hsegments;
239 AH_Segment horz_segments;
241 FT_Int num_vsegments;
242 AH_Segment vert_segments;
246 #define AH_BLUE_CAPITAL_TOP 0 247 #define AH_BLUE_CAPITAL_BOTTOM ( AH_BLUE_CAPITAL_TOP + 1 ) 248 #define AH_BLUE_SMALL_TOP ( AH_BLUE_CAPITAL_BOTTOM + 1 ) 249 #define AH_BLUE_SMALL_BOTTOM ( AH_BLUE_SMALL_TOP + 1 ) 250 #define AH_BLUE_SMALL_MINOR ( AH_BLUE_SMALL_BOTTOM + 1 ) 251 #define AH_BLUE_MAX ( AH_BLUE_SMALL_MINOR + 1 ) 253 typedef FT_Int AH_Blue;
256 #define AH_HINTER_MONOCHROME 1 257 #define AH_HINTER_OPTIMIZE 2 259 typedef FT_Int AH_Hinter_Flags;
268 FT_Pos widths[AH_MAX_WIDTHS];
269 FT_Pos heights[AH_MAX_HEIGHTS];
271 FT_Pos blue_refs[AH_BLUE_MAX];
272 FT_Pos blue_shoots[AH_BLUE_MAX];
282 FT_Bool control_overshoot;
288 AH_Hinter_Flags flags;
293 AH_Face_Globals globals;
302 FT_Vector trans_delta;
303 FT_Matrix trans_matrix;
305 FT_Bool do_horz_hints;
306 FT_Bool do_vert_hints;
307 FT_Bool do_horz_snapping;
308 FT_Bool do_vert_snapping;
Definition: ahtypes.h:276
Definition: ahtypes.h:153
Definition: ahtypes.h:171
Definition: ahtypes.h:214
Definition: ahtypes.h:262
Definition: ahtypes.h:286
Definition: ahtypes.h:193