198#define ft_pixel_mode_none FT_PIXEL_MODE_NONE
199#define ft_pixel_mode_mono FT_PIXEL_MODE_MONO
200#define ft_pixel_mode_grays FT_PIXEL_MODE_GRAY
201#define ft_pixel_mode_pal2 FT_PIXEL_MODE_GRAY2
202#define ft_pixel_mode_pal4 FT_PIXEL_MODE_GRAY4
364#define FT_OUTLINE_CONTOURS_MAX USHRT_MAX
365#define FT_OUTLINE_POINTS_MAX USHRT_MAX
445#define FT_OUTLINE_NONE 0x0
446#define FT_OUTLINE_OWNER 0x1
447#define FT_OUTLINE_EVEN_ODD_FILL 0x2
448#define FT_OUTLINE_REVERSE_FILL 0x4
449#define FT_OUTLINE_IGNORE_DROPOUTS 0x8
450#define FT_OUTLINE_SMART_DROPOUTS 0x10
451#define FT_OUTLINE_INCLUDE_STUBS 0x20
452#define FT_OUTLINE_OVERLAP 0x40
454#define FT_OUTLINE_HIGH_PRECISION 0x100
455#define FT_OUTLINE_SINGLE_PASS 0x200
460#define ft_outline_none FT_OUTLINE_NONE
461#define ft_outline_owner FT_OUTLINE_OWNER
462#define ft_outline_even_odd_fill FT_OUTLINE_EVEN_ODD_FILL
463#define ft_outline_reverse_fill FT_OUTLINE_REVERSE_FILL
464#define ft_outline_ignore_dropouts FT_OUTLINE_IGNORE_DROPOUTS
465#define ft_outline_high_precision FT_OUTLINE_HIGH_PRECISION
466#define ft_outline_single_pass FT_OUTLINE_SINGLE_PASS
470#define FT_CURVE_TAG( flag ) ( flag & 0x03 )
473#define FT_CURVE_TAG_ON 0x01
474#define FT_CURVE_TAG_CONIC 0x00
475#define FT_CURVE_TAG_CUBIC 0x02
477#define FT_CURVE_TAG_HAS_SCANMODE 0x04
479#define FT_CURVE_TAG_TOUCH_X 0x08
480#define FT_CURVE_TAG_TOUCH_Y 0x10
482#define FT_CURVE_TAG_TOUCH_BOTH ( FT_CURVE_TAG_TOUCH_X | \
483 FT_CURVE_TAG_TOUCH_Y )
489#define FT_Curve_Tag_On FT_CURVE_TAG_ON
490#define FT_Curve_Tag_Conic FT_CURVE_TAG_CONIC
491#define FT_Curve_Tag_Cubic FT_CURVE_TAG_CUBIC
492#define FT_Curve_Tag_Touch_X FT_CURVE_TAG_TOUCH_X
493#define FT_Curve_Tag_Touch_Y FT_CURVE_TAG_TOUCH_Y
522#define FT_Outline_MoveTo_Func FT_Outline_MoveToFunc
551#define FT_Outline_LineTo_Func FT_Outline_LineToFunc
586#define FT_Outline_ConicTo_Func FT_Outline_ConicToFunc
623#define FT_Outline_CubicTo_Func FT_Outline_CubicToFunc
710#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \
711 value = ( ( FT_STATIC_BYTE_CAST( unsigned long, _x1 ) << 24 ) | \
712 ( FT_STATIC_BYTE_CAST( unsigned long, _x2 ) << 16 ) | \
713 ( FT_STATIC_BYTE_CAST( unsigned long, _x3 ) << 8 ) | \
714 FT_STATIC_BYTE_CAST( unsigned long, _x4 ) )
764 FT_IMAGE_TAG( FT_GLYPH_FORMAT_COMPOSITE,
'c',
'o',
'm',
'p' ),
765 FT_IMAGE_TAG( FT_GLYPH_FORMAT_BITMAP,
'b',
'i',
't',
's' ),
766 FT_IMAGE_TAG( FT_GLYPH_FORMAT_OUTLINE,
'o',
'u',
't',
'l' ),
767 FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER,
'p',
'l',
'o',
't' ),
775#define ft_glyph_format_none FT_GLYPH_FORMAT_NONE
776#define ft_glyph_format_composite FT_GLYPH_FORMAT_COMPOSITE
777#define ft_glyph_format_bitmap FT_GLYPH_FORMAT_BITMAP
778#define ft_glyph_format_outline FT_GLYPH_FORMAT_OUTLINE
779#define ft_glyph_format_plotter FT_GLYPH_FORMAT_PLOTTER
918#define FT_Raster_Span_Func FT_SpanFunc
986#define FT_RASTER_FLAG_DEFAULT 0x0
987#define FT_RASTER_FLAG_AA 0x1
988#define FT_RASTER_FLAG_DIRECT 0x2
989#define FT_RASTER_FLAG_CLIP 0x4
990#define FT_RASTER_FLAG_SDF 0x8
994#define ft_raster_flag_default FT_RASTER_FLAG_DEFAULT
995#define ft_raster_flag_aa FT_RASTER_FLAG_AA
996#define ft_raster_flag_direct FT_RASTER_FLAG_DIRECT
997#define ft_raster_flag_clip FT_RASTER_FLAG_CLIP
1118#define FT_Raster_New_Func FT_Raster_NewFunc
1136#define FT_Raster_Done_Func FT_Raster_DoneFunc
1169 unsigned char* pool_base,
1170 unsigned long pool_size );
1172#define FT_Raster_Reset_Func FT_Raster_ResetFunc
1200#define FT_Raster_Set_Mode_Func FT_Raster_SetModeFunc
1237#define FT_Raster_Render_Func FT_Raster_RenderFunc
void(* FT_Raster_ResetFunc)(FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)
struct FT_Bitmap_ FT_Bitmap
#define FT_IMAGE_TAG(value, _x1, _x2, _x3, _x4)
int(* FT_Raster_BitTest_Func)(int y, int x, void *user)
void(* FT_Raster_DoneFunc)(FT_Raster raster)
int(* FT_Outline_ConicToFunc)(const FT_Vector *control, const FT_Vector *to, void *user)
int(* FT_Raster_RenderFunc)(FT_Raster raster, const FT_Raster_Params *params)
struct FT_Raster_Params_ FT_Raster_Params
int(* FT_Outline_LineToFunc)(const FT_Vector *to, void *user)
struct FT_RasterRec_ * FT_Raster
struct FT_Outline_ FT_Outline
void(* FT_Raster_BitSet_Func)(int y, int x, void *user)
struct FT_Raster_Funcs_ FT_Raster_Funcs
int(* FT_Raster_SetModeFunc)(FT_Raster raster, unsigned long mode, void *args)
int(* FT_Outline_CubicToFunc)(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)
void(* FT_SpanFunc)(int y, int count, const FT_Span *spans, void *user)
struct FT_Vector_ FT_Vector
enum FT_Glyph_Format_ FT_Glyph_Format
enum FT_Pixel_Mode_ FT_Pixel_Mode
int(* FT_Raster_NewFunc)(void *memory, FT_Raster *raster)
int(* FT_Outline_MoveToFunc)(const FT_Vector *to, void *user)
struct FT_Outline_Funcs_ FT_Outline_Funcs
FT_BEGIN_HEADER typedef signed long FT_Pos
unsigned char palette_mode
FT_Outline_ConicToFunc conic_to
FT_Outline_LineToFunc line_to
FT_Outline_CubicToFunc cubic_to
FT_Outline_MoveToFunc move_to
unsigned short * contours
unsigned short n_contours
FT_Raster_NewFunc raster_new
FT_Raster_SetModeFunc raster_set_mode
FT_Glyph_Format glyph_format
FT_Raster_RenderFunc raster_render
FT_Raster_ResetFunc raster_reset
FT_Raster_DoneFunc raster_done
FT_Raster_BitSet_Func bit_set
FT_Raster_BitTest_Func bit_test