ftimage.h File Reference

#include <ft2build.h>

Go to the source code of this file.

Classes

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_

Defines

#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_CONTOURS_MAX   SHRT_MAX
#define FT_OUTLINE_POINTS_MAX   SHRT_MAX
#define FT_OUTLINE_NONE   0x0
#define FT_OUTLINE_OWNER   0x1
#define FT_OUTLINE_EVEN_ODD_FILL   0x2
#define FT_OUTLINE_REVERSE_FILL   0x4
#define FT_OUTLINE_IGNORE_DROPOUTS   0x8
#define FT_OUTLINE_SMART_DROPOUTS   0x10
#define FT_OUTLINE_INCLUDE_STUBS   0x20
#define FT_OUTLINE_HIGH_PRECISION   0x100
#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_HAS_SCANMODE   4
#define FT_CURVE_TAG_TOUCH_X   8
#define FT_CURVE_TAG_TOUCH_Y   16
#define FT_CURVE_TAG_TOUCH_BOTH
#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_DEFAULT   0x0
#define FT_RASTER_FLAG_AA   0x1
#define FT_RASTER_FLAG_DIRECT   0x2
#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

Typedefs

typedef FT_Vector_ FT_Vector
typedef FT_BBox_ FT_BBox
typedef enum FT_Pixel_Mode_ FT_Pixel_Mode
typedef FT_Bitmap_ FT_Bitmap
typedef 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 FT_Outline_Funcs_ FT_Outline_Funcs
typedef enum FT_Glyph_Format_ FT_Glyph_Format
typedef FT_RasterRec_ * FT_Raster
typedef 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 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 FT_Raster_Funcs_ FT_Raster_Funcs

Enumerations

enum  FT_Pixel_Mode_
enum  FT_Glyph_Format_

Variables

FT_BEGIN_HEADER typedef signed
long 
FT_Pos


Define Documentation

#define FT_CURVE_TAG ( flag   )     ( flag & 3 )

Definition at line 502 of file ftimage.h.

Referenced by af_glyph_hints_reload(), af_latin2_metrics_init_blues(), af_latin_metrics_init_blues(), Decompose_Curve(), FT_Outline_Decompose(), and FT_Stroker_ParseOutline().

#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC

Definition at line 517 of file ftimage.h.

Referenced by FTContour::FTContour().

#define FT_CURVE_TAG_CONIC   0

Definition at line 505 of file ftimage.h.

Referenced by af_glyph_hints_reload(), af_glyph_hints_save(), Decompose_Curve(), FT_Outline_Decompose(), ft_stroke_border_export(), and FT_Stroker_ParseOutline().

#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC

Definition at line 518 of file ftimage.h.

Referenced by FTContour::FTContour().

#define FT_CURVE_TAG_CUBIC   2

Definition at line 506 of file ftimage.h.

Referenced by af_glyph_hints_reload(), af_glyph_hints_save(), cff_builder_add_point(), Decompose_Curve(), FT_Outline_Decompose(), ft_stroke_border_export(), FT_Stroker_ParseOutline(), pfr_glyph_curve_to(), and t1_builder_add_point().

#define FT_CURVE_TAG_HAS_SCANMODE   4

Definition at line 508 of file ftimage.h.

Referenced by Decompose_Curve(), and TT_Hint_Glyph().

#define FT_Curve_Tag_On   FT_CURVE_TAG_ON

Definition at line 516 of file ftimage.h.

Referenced by FTContour::FTContour().

#define FT_CURVE_TAG_ON   1

Definition at line 504 of file ftimage.h.

Referenced by af_glyph_hints_save(), af_latin2_metrics_init_blues(), af_latin_metrics_init_blues(), cff_builder_add_point(), cff_builder_close_contour(), Decompose_Curve(), FT_Outline_Decompose(), ft_stroke_border_export(), FT_Stroker_ParseOutline(), pfr_glyph_curve_to(), pfr_glyph_line_to(), psh_glyph_init(), t1_builder_add_point(), t1_builder_close_contour(), and TT_Load_Simple_Glyph().

#define FT_CURVE_TAG_TOUCH_BOTH

Value:

Definition at line 513 of file ftimage.h.

Referenced by TT_Process_Composite_Glyph().

#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X

Definition at line 519 of file ftimage.h.

#define FT_CURVE_TAG_TOUCH_X   8

Definition at line 510 of file ftimage.h.

#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y

Definition at line 520 of file ftimage.h.

#define FT_CURVE_TAG_TOUCH_Y   16

Definition at line 511 of file ftimage.h.

#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP

Definition at line 796 of file ftimage.h.

Referenced by FTBitmapGlyph::FTBitmapGlyph(), FTPixmapGlyph::FTPixmapGlyph(), and FTTextureGlyph::FTTextureGlyph().

#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE

Definition at line 795 of file ftimage.h.

#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE

Definition at line 794 of file ftimage.h.

#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE

Definition at line 797 of file ftimage.h.

Referenced by FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), and FTPolyGlyph::FTPolyGlyph().

#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER

Definition at line 798 of file ftimage.h.

#define FT_IMAGE_TAG ( value,
_x1,
_x2,
_x3,
_x4   ) 

Value:

value = ( ( (unsigned long)_x1 << 24 ) | \
                    ( (unsigned long)_x2 << 16 ) | \
                    ( (unsigned long)_x3 << 8  ) | \
                      (unsigned long)_x4         )

Definition at line 720 of file ftimage.h.

#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc

Definition at line 606 of file ftimage.h.

#define FT_OUTLINE_CONTOURS_MAX   SHRT_MAX

Definition at line 386 of file ftimage.h.

Referenced by FT_GlyphLoader_CheckPoints().

#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc

Definition at line 639 of file ftimage.h.

#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL

Definition at line 494 of file ftimage.h.

Referenced by FTVectoriser::MakeMesh().

#define FT_OUTLINE_EVEN_ODD_FILL   0x2

Definition at line 464 of file ftimage.h.

Referenced by gray_hline().

#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION

Definition at line 497 of file ftimage.h.

#define FT_OUTLINE_HIGH_PRECISION   0x100

Definition at line 470 of file ftimage.h.

Referenced by cff_slot_load(), cid_slot_load_glyph(), pfr_slot_load(), Render_Glyph(), T1_Load_Glyph(), and TT_Load_Glyph().

#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS

Definition at line 496 of file ftimage.h.

#define FT_OUTLINE_IGNORE_DROPOUTS   0x8

Definition at line 466 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define FT_OUTLINE_INCLUDE_STUBS   0x20

Definition at line 468 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc

Definition at line 574 of file ftimage.h.

#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc

Definition at line 547 of file ftimage.h.

#define ft_outline_none   FT_OUTLINE_NONE

Definition at line 492 of file ftimage.h.

#define FT_OUTLINE_NONE   0x0

Definition at line 462 of file ftimage.h.

#define ft_outline_owner   FT_OUTLINE_OWNER

Definition at line 493 of file ftimage.h.

#define FT_OUTLINE_OWNER   0x1

Definition at line 463 of file ftimage.h.

Referenced by cid_slot_load_glyph(), FT_Outline_Copy(), FT_Outline_Done_Internal(), ft_outline_glyph_prepare(), FT_Outline_New_Internal(), pfr_slot_load(), and T1_Load_Glyph().

#define FT_OUTLINE_POINTS_MAX   SHRT_MAX

Definition at line 387 of file ftimage.h.

Referenced by FT_GlyphLoader_CheckPoints().

#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL

Definition at line 495 of file ftimage.h.

Referenced by FTExtrdGlyph::FTExtrdGlyph().

#define FT_OUTLINE_REVERSE_FILL   0x4

Definition at line 465 of file ftimage.h.

Referenced by cff_slot_load(), cid_slot_load_glyph(), pfr_slot_load(), and T1_Load_Glyph().

#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS

Definition at line 498 of file ftimage.h.

#define FT_OUTLINE_SINGLE_PASS   0x200

Definition at line 471 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define FT_OUTLINE_SMART_DROPOUTS   0x10

Definition at line 467 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define ft_pixel_mode_grays   FT_PIXEL_MODE_GRAY

Definition at line 205 of file ftimage.h.

#define ft_pixel_mode_mono   FT_PIXEL_MODE_MONO

Definition at line 204 of file ftimage.h.

#define ft_pixel_mode_none   FT_PIXEL_MODE_NONE

Definition at line 203 of file ftimage.h.

#define ft_pixel_mode_pal2   FT_PIXEL_MODE_GRAY2

Definition at line 206 of file ftimage.h.

#define ft_pixel_mode_pal4   FT_PIXEL_MODE_GRAY4

Definition at line 207 of file ftimage.h.

#define FT_Raster_Done_Func   FT_Raster_DoneFunc

Definition at line 1152 of file ftimage.h.

#define ft_raster_flag_aa   FT_RASTER_FLAG_AA

Definition at line 1037 of file ftimage.h.

#define FT_RASTER_FLAG_AA   0x1

Definition at line 1031 of file ftimage.h.

Referenced by ft_black_render(), FT_Outline_Get_Bitmap(), ft_raster1_render(), ft_smooth_render_generic(), and gray_raster_render().

#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP

Definition at line 1039 of file ftimage.h.

#define FT_RASTER_FLAG_CLIP   0x4

Definition at line 1033 of file ftimage.h.

Referenced by gray_raster_render().

#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT

Definition at line 1036 of file ftimage.h.

#define FT_RASTER_FLAG_DEFAULT   0x0

Definition at line 1030 of file ftimage.h.

#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT

Definition at line 1038 of file ftimage.h.

#define FT_RASTER_FLAG_DIRECT   0x2

Definition at line 1032 of file ftimage.h.

Referenced by ft_black_render(), and gray_raster_render().

#define FT_Raster_New_Func   FT_Raster_NewFunc

Definition at line 1135 of file ftimage.h.

#define FT_Raster_Render_Func   FT_Raster_RenderFunc

Definition at line 1254 of file ftimage.h.

#define FT_Raster_Reset_Func   FT_Raster_ResetFunc

Definition at line 1187 of file ftimage.h.

#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc

Definition at line 1213 of file ftimage.h.

#define FT_Raster_Span_Func   FT_SpanFunc

Definition at line 930 of file ftimage.h.

Referenced by gray_raster_render().


Typedef Documentation

typedef struct FT_BBox_ FT_BBox

typedef struct FT_Bitmap_ FT_Bitmap

typedef enum FT_Glyph_Format_ FT_Glyph_Format

typedef struct FT_Outline_ FT_Outline

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

Definition at line 602 of file ftimage.h.

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

Definition at line 634 of file ftimage.h.

typedef struct FT_Outline_Funcs_ FT_Outline_Funcs

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

Definition at line 571 of file ftimage.h.

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

Definition at line 544 of file ftimage.h.

typedef enum FT_Pixel_Mode_ FT_Pixel_Mode

typedef struct FT_RasterRec_* FT_Raster

Definition at line 850 of file ftimage.h.

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

Definition at line 985 of file ftimage.h.

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

Definition at line 957 of file ftimage.h.

typedef void(*) FT_Raster_DoneFunc(FT_Raster raster)

Definition at line 1150 of file ftimage.h.

typedef struct FT_Raster_Funcs_ FT_Raster_Funcs

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

Definition at line 1132 of file ftimage.h.

typedef struct FT_Raster_Params_ FT_Raster_Params

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

Definition at line 1251 of file ftimage.h.

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

Definition at line 1183 of file ftimage.h.

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

Definition at line 1209 of file ftimage.h.

typedef struct FT_Span_ FT_Span

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

Definition at line 925 of file ftimage.h.

typedef struct FT_Vector_ FT_Vector


Enumeration Type Documentation

enum FT_Glyph_Format_

Definition at line 766 of file ftimage.h.

enum FT_Pixel_Mode_

Definition at line 172 of file ftimage.h.


Variable Documentation

FT_BEGIN_HEADER typedef signed long FT_Pos

Definition at line 59 of file ftimage.h.

Referenced by af_direction_compute(), af_glyph_hints_align_strong_points(), af_glyph_hints_compute_inflections(), af_glyph_hints_reload(), af_iup_interp(), af_iup_shift(), af_latin2_align_linked_edge(), af_latin2_compute_stem_width(), af_latin2_hint_edges(), af_latin2_hints_apply(), af_latin2_hints_compute_blue_edges(), af_latin2_hints_compute_edges(), af_latin2_hints_link_segments(), af_latin2_metrics_init_blues(), af_latin2_metrics_init_widths(), af_latin2_metrics_scale_dim(), af_latin2_snap_width(), af_latin_align_linked_edge(), af_latin_compute_stem_width(), 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_loader_load_g(), af_sort_pos(), BBox_Cubic_Check(), BDF_Face_Init(), cff_decoder_parse_charstrings(), cff_operator_seac(), cff_size_request(), cff_slot_load(), compute_glyph_metrics(), ft_conic_split(), ft_corner_is_flat(), ft_cubic_split(), FT_GlyphSlot_Embolden(), ft_glyphslot_grid_fit_metrics(), FT_Matrix_Invert(), FT_Outline_Decompose(), FT_Outline_Embolden(), FT_Outline_Get_CBox(), FT_Outline_Get_Orientation(), ft_smooth_render_generic(), ft_synthesize_vertical_metrics(), FT_Vector_Transform(), FT_Vector_Transform_Scaled(), ftc_snode_load(), gxv_prop_zero_advance_validate(), pcf_load_font(), 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_activate_mask(), psh_hint_table_find_strong_points(), t1_decoder_parse_charstrings(), T1_Face_Init(), t1_hints_stem(), t2_hints_stems(), test_cubic_extrema(), TT_Hint_Glyph(), TT_Load_Simple_Glyph(), and TT_Process_Composite_Component().


Generated on Tue Jul 5 15:58:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1