ReactOS  0.4.15-dev-5109-g2469ce2
ftimage.h File Reference
#include <ft2build.h>
Include dependency graph for ftimage.h:

Go to the source code of this file.


struct  FT_Vector_
struct  FT_BBox_
struct  FT_Bitmap_
struct  FT_Outline_
struct  FT_Outline_Funcs_
struct  FT_Span_
struct  FT_Raster_Params_
struct  FT_Raster_Funcs_


#define ft_pixel_mode_none   FT_PIXEL_MODE_NONE
#define ft_pixel_mode_mono   FT_PIXEL_MODE_MONO
#define ft_pixel_mode_grays   FT_PIXEL_MODE_GRAY
#define ft_pixel_mode_pal2   FT_PIXEL_MODE_GRAY2
#define ft_pixel_mode_pal4   FT_PIXEL_MODE_GRAY4
#define FT_OUTLINE_NONE   0x0
#define FT_OUTLINE_OWNER   0x1
#define FT_OUTLINE_SINGLE_PASS   0x200
#define ft_outline_none   FT_OUTLINE_NONE
#define ft_outline_owner   FT_OUTLINE_OWNER
#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL
#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL
#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS
#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION
#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS
#define FT_CURVE_TAG(flag)   ( flag & 3 )
#define FT_CURVE_TAG_ON   1
#define FT_CURVE_TAG_CONIC   0
#define FT_CURVE_TAG_CUBIC   2
#define FT_CURVE_TAG_TOUCH_X   8 /* reserved for the TrueType hinter */
#define FT_CURVE_TAG_TOUCH_Y   16 /* reserved for the TrueType hinter */
#define FT_Curve_Tag_On   FT_CURVE_TAG_ON
#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC
#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC
#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X
#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y
#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc
#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc
#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc
#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc
#define FT_IMAGE_TAG(value, _x1, _x2, _x3, _x4)
#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE
#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE
#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP
#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE
#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER
#define FT_Raster_Span_Func   FT_SpanFunc
#define FT_RASTER_FLAG_AA   0x1
#define FT_RASTER_FLAG_CLIP   0x4
#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT
#define ft_raster_flag_aa   FT_RASTER_FLAG_AA
#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT
#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP
#define FT_Raster_New_Func   FT_Raster_NewFunc
#define FT_Raster_Done_Func   FT_Raster_DoneFunc
#define FT_Raster_Reset_Func   FT_Raster_ResetFunc
#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc
#define FT_Raster_Render_Func   FT_Raster_RenderFunc


typedef struct FT_Vector_ FT_Vector
typedef struct FT_BBox_ FT_BBox
typedef enum FT_Pixel_Mode_ FT_Pixel_Mode
typedef struct FT_Bitmap_ FT_Bitmap
typedef struct FT_Outline_ FT_Outline
typedef int(* FT_Outline_MoveToFunc) (const FT_Vector *to, void *user)
typedef int(* FT_Outline_LineToFunc) (const FT_Vector *to, void *user)
typedef int(* FT_Outline_ConicToFunc) (const FT_Vector *control, const FT_Vector *to, void *user)
typedef int(* FT_Outline_CubicToFunc) (const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)
typedef struct FT_Outline_Funcs_ FT_Outline_Funcs
typedef enum FT_Glyph_Format_ FT_Glyph_Format
typedef struct FT_RasterRec_ * FT_Raster
typedef struct FT_Span_ FT_Span
typedef void(* FT_SpanFunc) (int y, int count, const FT_Span *spans, void *user)
typedef int(* FT_Raster_BitTest_Func) (int y, int x, void *user)
typedef void(* FT_Raster_BitSet_Func) (int y, int x, void *user)
typedef struct FT_Raster_Params_ FT_Raster_Params
typedef int(* FT_Raster_NewFunc) (void *memory, FT_Raster *raster)
typedef void(* FT_Raster_DoneFunc) (FT_Raster raster)
typedef void(* FT_Raster_ResetFunc) (FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)
typedef int(* FT_Raster_SetModeFunc) (FT_Raster raster, unsigned long mode, void *args)
typedef int(* FT_Raster_RenderFunc) (FT_Raster raster, const FT_Raster_Params *params)
typedef struct FT_Raster_Funcs_ FT_Raster_Funcs


enum  FT_Pixel_Mode_ {
enum  FT_Glyph_Format_ { FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ), FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ), FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ), FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ) }


FT_BEGIN_HEADER typedef signed long FT_Pos

Macro Definition Documentation


#define FT_CURVE_TAG (   flag)    ( flag & 3 )

Definition at line 451 of file ftimage.h.


#define FT_CURVE_TAG_CONIC   0

Definition at line 454 of file ftimage.h.

◆ FT_Curve_Tag_Conic

#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC

Definition at line 466 of file ftimage.h.


#define FT_CURVE_TAG_CUBIC   2

Definition at line 455 of file ftimage.h.

◆ FT_Curve_Tag_Cubic

#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC

Definition at line 467 of file ftimage.h.



Definition at line 457 of file ftimage.h.


#define FT_CURVE_TAG_ON   1

Definition at line 453 of file ftimage.h.

◆ FT_Curve_Tag_On

#define FT_Curve_Tag_On   FT_CURVE_TAG_ON

Definition at line 465 of file ftimage.h.


Definition: ftimage.h:459

Definition at line 462 of file ftimage.h.


#define FT_CURVE_TAG_TOUCH_X   8 /* reserved for the TrueType hinter */

Definition at line 459 of file ftimage.h.

◆ FT_Curve_Tag_Touch_X

#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X

Definition at line 468 of file ftimage.h.


#define FT_CURVE_TAG_TOUCH_Y   16 /* reserved for the TrueType hinter */

Definition at line 460 of file ftimage.h.

◆ FT_Curve_Tag_Touch_Y

#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y

Definition at line 469 of file ftimage.h.

◆ ft_glyph_format_bitmap

#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP

Definition at line 731 of file ftimage.h.

◆ ft_glyph_format_composite

#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE

Definition at line 730 of file ftimage.h.

◆ ft_glyph_format_none

#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE

Definition at line 729 of file ftimage.h.

◆ ft_glyph_format_outline

#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE

Definition at line 732 of file ftimage.h.

◆ ft_glyph_format_plotter

#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER

Definition at line 733 of file ftimage.h.


#define FT_IMAGE_TAG (   value,
value = ( ( (unsigned long)_x1 << 24 ) | \
( (unsigned long)_x2 << 16 ) | \
( (unsigned long)_x3 << 8 ) | \
(unsigned long)_x4 )
Definition: pdh_main.c:93
#define long
Definition: qsort.c:33

Definition at line 669 of file ftimage.h.

◆ FT_Outline_ConicTo_Func

#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc

Definition at line 555 of file ftimage.h.



Definition at line 351 of file ftimage.h.

◆ FT_Outline_CubicTo_Func

#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc

Definition at line 588 of file ftimage.h.



Definition at line 429 of file ftimage.h.

◆ ft_outline_even_odd_fill

#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL

Definition at line 443 of file ftimage.h.



Definition at line 435 of file ftimage.h.

◆ ft_outline_high_precision

#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION

Definition at line 446 of file ftimage.h.



Definition at line 431 of file ftimage.h.

◆ ft_outline_ignore_dropouts

#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS

Definition at line 445 of file ftimage.h.



Definition at line 433 of file ftimage.h.

◆ FT_Outline_LineTo_Func

#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc

Definition at line 523 of file ftimage.h.

◆ FT_Outline_MoveTo_Func

#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc

Definition at line 496 of file ftimage.h.


#define FT_OUTLINE_NONE   0x0

Definition at line 427 of file ftimage.h.

◆ ft_outline_none

#define ft_outline_none   FT_OUTLINE_NONE

Definition at line 441 of file ftimage.h.


#define FT_OUTLINE_OWNER   0x1

Definition at line 428 of file ftimage.h.

◆ ft_outline_owner

#define ft_outline_owner   FT_OUTLINE_OWNER

Definition at line 442 of file ftimage.h.



Definition at line 352 of file ftimage.h.



Definition at line 430 of file ftimage.h.

◆ ft_outline_reverse_fill

#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL

Definition at line 444 of file ftimage.h.


#define FT_OUTLINE_SINGLE_PASS   0x200

Definition at line 436 of file ftimage.h.

◆ ft_outline_single_pass

#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS

Definition at line 447 of file ftimage.h.



Definition at line 432 of file ftimage.h.

◆ ft_pixel_mode_grays

#define ft_pixel_mode_grays   FT_PIXEL_MODE_GRAY

Definition at line 200 of file ftimage.h.

◆ ft_pixel_mode_mono

#define ft_pixel_mode_mono   FT_PIXEL_MODE_MONO

Definition at line 199 of file ftimage.h.

◆ ft_pixel_mode_none

#define ft_pixel_mode_none   FT_PIXEL_MODE_NONE

Definition at line 198 of file ftimage.h.

◆ ft_pixel_mode_pal2

#define ft_pixel_mode_pal2   FT_PIXEL_MODE_GRAY2

Definition at line 201 of file ftimage.h.

◆ ft_pixel_mode_pal4

#define ft_pixel_mode_pal4   FT_PIXEL_MODE_GRAY4

Definition at line 202 of file ftimage.h.

◆ FT_Raster_Done_Func

#define FT_Raster_Done_Func   FT_Raster_DoneFunc

Definition at line 1057 of file ftimage.h.


#define FT_RASTER_FLAG_AA   0x1

Definition at line 941 of file ftimage.h.

◆ ft_raster_flag_aa

#define ft_raster_flag_aa   FT_RASTER_FLAG_AA

Definition at line 948 of file ftimage.h.


#define FT_RASTER_FLAG_CLIP   0x4

Definition at line 943 of file ftimage.h.

◆ ft_raster_flag_clip

#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP

Definition at line 950 of file ftimage.h.



Definition at line 940 of file ftimage.h.

◆ ft_raster_flag_default

#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT

Definition at line 947 of file ftimage.h.



Definition at line 942 of file ftimage.h.

◆ ft_raster_flag_direct

#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT

Definition at line 949 of file ftimage.h.

◆ FT_Raster_New_Func

#define FT_Raster_New_Func   FT_Raster_NewFunc

Definition at line 1040 of file ftimage.h.

◆ FT_Raster_Render_Func

#define FT_Raster_Render_Func   FT_Raster_RenderFunc

Definition at line 1158 of file ftimage.h.

◆ FT_Raster_Reset_Func

#define FT_Raster_Reset_Func   FT_Raster_ResetFunc

Definition at line 1091 of file ftimage.h.

◆ FT_Raster_Set_Mode_Func

#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc

Definition at line 1117 of file ftimage.h.

◆ FT_Raster_Span_Func

#define FT_Raster_Span_Func   FT_SpanFunc

Definition at line 869 of file ftimage.h.

Typedef Documentation

◆ FT_BBox

◆ FT_Bitmap

◆ FT_Glyph_Format

◆ FT_Outline

◆ FT_Outline_ConicToFunc

typedef int(* FT_Outline_ConicToFunc) (const FT_Vector *control, const FT_Vector *to, void *user)

Definition at line 551 of file ftimage.h.

◆ FT_Outline_CubicToFunc

typedef int(* FT_Outline_CubicToFunc) (const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)

Definition at line 583 of file ftimage.h.

◆ FT_Outline_Funcs

◆ FT_Outline_LineToFunc

typedef int(* FT_Outline_LineToFunc) (const FT_Vector *to, void *user)

Definition at line 520 of file ftimage.h.

◆ FT_Outline_MoveToFunc

typedef int(* FT_Outline_MoveToFunc) (const FT_Vector *to, void *user)

Definition at line 493 of file ftimage.h.

◆ FT_Pixel_Mode

◆ FT_Raster

typedef struct FT_RasterRec_* FT_Raster

Definition at line 800 of file ftimage.h.

◆ FT_Raster_BitSet_Func

typedef void(* FT_Raster_BitSet_Func) (int y, int x, void *user)

Definition at line 895 of file ftimage.h.

◆ FT_Raster_BitTest_Func

typedef int(* FT_Raster_BitTest_Func) (int y, int x, void *user)

Definition at line 881 of file ftimage.h.

◆ FT_Raster_DoneFunc

typedef void(* FT_Raster_DoneFunc) (FT_Raster raster)

Definition at line 1055 of file ftimage.h.

◆ FT_Raster_Funcs

◆ FT_Raster_NewFunc

typedef int(* FT_Raster_NewFunc) (void *memory, FT_Raster *raster)

Definition at line 1037 of file ftimage.h.

◆ FT_Raster_Params

◆ FT_Raster_RenderFunc

typedef int(* FT_Raster_RenderFunc) (FT_Raster raster, const FT_Raster_Params *params)

Definition at line 1155 of file ftimage.h.

◆ FT_Raster_ResetFunc

typedef void(* FT_Raster_ResetFunc) (FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)

Definition at line 1087 of file ftimage.h.

◆ FT_Raster_SetModeFunc

typedef int(* FT_Raster_SetModeFunc) (FT_Raster raster, unsigned long mode, void *args)

Definition at line 1113 of file ftimage.h.

◆ FT_Span

◆ FT_SpanFunc

typedef void(* FT_SpanFunc) (int y, int count, const FT_Span *spans, void *user)

Definition at line 864 of file ftimage.h.

◆ FT_Vector

Enumeration Type Documentation

◆ FT_Glyph_Format_


Definition at line 715 of file ftimage.h.

716  {
717  FT_IMAGE_TAG( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ),
719  FT_IMAGE_TAG( FT_GLYPH_FORMAT_COMPOSITE, 'c', 'o', 'm', 'p' ),
720  FT_IMAGE_TAG( FT_GLYPH_FORMAT_BITMAP, 'b', 'i', 't', 's' ),
721  FT_IMAGE_TAG( FT_GLYPH_FORMAT_OUTLINE, 'o', 'u', 't', 'l' ),
722  FT_IMAGE_TAG( FT_GLYPH_FORMAT_PLOTTER, 'p', 'l', 'o', 't' )
724  } FT_Glyph_Format;
#define FT_IMAGE_TAG(value, _x1, _x2, _x3, _x4)
Definition: ftimage.h:669
smooth FT_Module_Constructor FT_Module_Destructor FT_Module_Requester FT_GLYPH_FORMAT_OUTLINE
Definition: ftsmooth.c:416
enum FT_Glyph_Format_ FT_Glyph_Format

◆ FT_Pixel_Mode_


Definition at line 180 of file ftimage.h.

Variable Documentation

◆ FT_Pos

FT_BEGIN_HEADER typedef signed long FT_Pos

Definition at line 58 of file ftimage.h.

Referenced by af_direction_compute(), af_glyph_hints_align_strong_points(), af_glyph_hints_reload(), af_iup_interp(), af_iup_shift(), af_latin_align_linked_edge(), af_latin_compute_stem_width(), af_latin_hint_edges(), af_latin_hints_apply(), af_latin_hints_compute_blue_edges(), af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_hints_link_segments(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), af_latin_metrics_scale_dim(), af_latin_snap_width(), af_latin_sort_blue(), af_loader_embolden_glyph_in_slot(), af_loader_load_glyph(), af_sort_and_quantize_widths(), af_sort_pos(), BDF_Face_Init(), BDF_Glyph_Load(), cf2_blues_init(), cf2_getBlueValues(), cf2_getFamilyBlues(), cf2_getFamilyOtherBlues(), cf2_getOtherBlues(), cf2_interpT2CharString(), cff_size_request(), cff_slot_load(), compute_glyph_metrics(), cubic_peak(), FNT_Load_Glyph(), ft_bitmap_glyph_bbox(), ft_conic_split(), ft_corner_is_flat(), ft_cubic_split(), FT_Get_Kerning(), FT_GlyphSlot_Embolden(), ft_glyphslot_grid_fit_metrics(), ft_glyphslot_preset_bitmap(), FT_Matrix_Invert(), FT_Outline_Decompose(), FT_Outline_Get_CBox(), FT_Outline_Get_Orientation(), ft_raster1_render(), ft_smooth_render_generic(), ft_synthesize_vertical_metrics(), ft_trig_prenorm(), FT_Vector_NormLen(), FT_Vector_Rotate(), FT_Vector_Transform(), FT_Vector_Transform_Scaled(), ftc_snode_load(), gray_raster_render(), gxv_prop_zero_advance_validate(), PCF_Glyph_Load(), pfr_face_init(), pfr_slot_load(), psh_blues_scale_zones(), psh_blues_snap_stem(), psh_compute_dir(), psh_dimension_quantize_len(), psh_globals_scale_widths(), psh_glyph_compute_inflections(), psh_glyph_find_blue_points(), psh_glyph_init(), psh_glyph_interpolate_normal_points(), psh_glyph_interpolate_other_points(), psh_glyph_interpolate_strong_points(), psh_hint_align(), psh_hint_table_find_strong_points(), T1_Face_Init(), t1_hints_stem(), t1_make_subfont(), t2_hints_stems(), TT_Load_Simple_Glyph(), and TT_Process_Composite_Component().