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 )
255#ifdef FT_DEBUG_AUTOFIT
308#define AF_SEGMENTS_EMBEDDED 18
309#define AF_EDGES_EMBEDDED 12
316#ifdef AF_SORT_SEGMENTS
337#define AF_POINTS_EMBEDDED 96
338#define AF_CONTOURS_EMBEDDED 8
379#define AF_HINTS_TEST_SCALER( h, f ) ( (h)->scaler_flags & (f) )
380#define AF_HINTS_TEST_OTHER( h, f ) ( (h)->other_flags & (f) )
383#ifdef FT_DEBUG_AUTOFIT
385#define AF_HINTS_DO_HORIZONTAL( h ) \
386 ( !_af_debug_disable_horz_hints && \
387 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) )
389#define AF_HINTS_DO_VERTICAL( h ) \
390 ( !_af_debug_disable_vert_hints && \
391 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) )
393#define AF_HINTS_DO_BLUES( h ) ( !_af_debug_disable_blue_hints )
397#define AF_HINTS_DO_HORIZONTAL( h ) \
398 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL )
400#define AF_HINTS_DO_VERTICAL( h ) \
401 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL )
403#define AF_HINTS_DO_BLUES( h ) 1
408#define AF_HINTS_DO_ADVANCE( h ) \
409 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE )
411#define AF_HINTS_DO_WARP( h ) \
412 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_WARPER )
462#ifdef AF_CONFIG_OPTION_USE_WARPER
475#define AF_SEGMENT_LEN( seg ) ( (seg)->max_coord - (seg)->min_coord )
477#define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \
478 ? (seg1)->pos - (seg2)->pos \
479 : (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_::@4373 embedded
AF_AxisHintsRec axis[AF_DIMENSION_MAX]
struct AF_GlyphHintsRec_::@4374 embedded
__inline int before(__u32 seq1, __u32 seq2)
__inline int after(__u32 seq1, __u32 seq2)