24#define xxAF_SORT_SEGMENTS
210#define AF_FLAG_NONE 0
213#define AF_FLAG_CONIC ( 1U << 0 )
214#define AF_FLAG_CUBIC ( 1U << 1 )
215#define AF_FLAG_CONTROL ( AF_FLAG_CONIC | AF_FLAG_CUBIC )
218#define AF_FLAG_TOUCH_X ( 1U << 2 )
219#define AF_FLAG_TOUCH_Y ( 1U << 3 )
222#define AF_FLAG_WEAK_INTERPOLATION ( 1U << 4 )
225#define AF_FLAG_NEAR ( 1U << 5 )
229#define AF_EDGE_NORMAL 0
230#define AF_EDGE_ROUND ( 1U << 0 )
231#define AF_EDGE_SERIF ( 1U << 1 )
232#define AF_EDGE_DONE ( 1U << 2 )
233#define AF_EDGE_NEUTRAL ( 1U << 3 )
302#define AF_SEGMENTS_EMBEDDED 18
303#define AF_EDGES_EMBEDDED 12
310#ifdef AF_SORT_SEGMENTS
331#define AF_POINTS_EMBEDDED 96
332#define AF_CONTOURS_EMBEDDED 8
373#define AF_HINTS_TEST_SCALER( h, f ) ( (h)->scaler_flags & (f) )
374#define AF_HINTS_TEST_OTHER( h, f ) ( (h)->other_flags & (f) )
377#ifdef FT_DEBUG_AUTOFIT
379#define AF_HINTS_DO_HORIZONTAL( h ) \
380 ( !_af_debug_disable_horz_hints && \
381 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) )
383#define AF_HINTS_DO_VERTICAL( h ) \
384 ( !_af_debug_disable_vert_hints && \
385 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) )
387#define AF_HINTS_DO_BLUES( h ) ( !_af_debug_disable_blue_hints )
391#define AF_HINTS_DO_HORIZONTAL( h ) \
392 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL )
394#define AF_HINTS_DO_VERTICAL( h ) \
395 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL )
397#define AF_HINTS_DO_BLUES( h ) 1
402#define AF_HINTS_DO_ADVANCE( h ) \
403 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE )
405#define AF_HINTS_DO_WARP( h ) \
406 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_WARPER )
456#ifdef AF_CONFIG_OPTION_USE_WARPER
469#define AF_SEGMENT_LEN( seg ) ( (seg)->max_coord - (seg)->min_coord )
471#define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \
472 ? (seg1)->pos - (seg2)->pos \
473 : (seg2)->pos - (seg1)->pos )
#define AF_EDGES_EMBEDDED
af_glyph_hints_done(AF_GlyphHints hints)
af_direction_compute(FT_Pos dx, FT_Pos dy)
af_glyph_hints_align_edge_points(AF_GlyphHints hints, AF_Dimension dim)
struct AF_AxisHintsRec_ * AF_AxisHints
struct AF_AxisHintsRec_ AF_AxisHintsRec
af_axis_hints_new_edge(AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Bool top_to_bottom_hinting, FT_Memory memory, AF_Edge *edge)
struct AF_PointRec_ AF_PointRec
#define AF_CONTOURS_EMBEDDED
struct AF_PointRec_ * AF_Point
FT_BEGIN_HEADER enum AF_Dimension_ AF_Dimension
struct AF_SegmentRec_ * AF_Segment
enum AF_Direction_ AF_Direction
af_glyph_hints_save(AF_GlyphHints hints, FT_Outline *outline)
af_glyph_hints_rescale(AF_GlyphHints hints, AF_StyleMetrics metrics)
af_axis_hints_new_segment(AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment)
af_glyph_hints_reload(AF_GlyphHints hints, FT_Outline *outline)
#define AF_SEGMENTS_EMBEDDED
struct AF_GlyphHintsRec_ AF_GlyphHintsRec
af_glyph_hints_align_strong_points(AF_GlyphHints hints, AF_Dimension dim)
struct AF_SegmentRec_ AF_SegmentRec
af_glyph_hints_align_weak_points(AF_GlyphHints hints, AF_Dimension dim)
af_glyph_hints_init(AF_GlyphHints hints, FT_Memory memory)
struct AF_EdgeRec_ * AF_Edge
#define AF_POINTS_EMBEDDED
struct AF_EdgeRec_ AF_EdgeRec
FT_BEGIN_HEADER struct AF_WidthRec_ * AF_Width
FT_BEGIN_HEADER typedef signed long FT_Pos
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLenum GLenum GLenum GLenum GLenum scale
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
GLsizei const GLfloat * points
static char memory[1024 *256]
namespace GUID const ADDRINFOEXW * hints
struct AF_AxisHintsRec_::@4279 embedded
AF_AxisHintsRec axis[AF_DIMENSION_MAX]
struct AF_GlyphHintsRec_::@4280 embedded