zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftimage.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

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

Macros

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

Typedefs

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)
 
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 int(* FT_Outline_LineToFunc )(const FT_Vector *to, void *user)
 
typedef int(* FT_Outline_MoveToFunc )(const FT_Vector *to, void *user)
 
typedef enum FT_Pixel_Mode_ FT_Pixel_Mode
 
typedef struct FT_RasterRec_ * FT_Raster
 
typedef void(* FT_Raster_BitSet_Func )(int y, int x, void *user)
 
typedef int(* FT_Raster_BitTest_Func )(int y, int x, void *user)
 
typedef void(* FT_Raster_DoneFunc )(FT_Raster raster)
 
typedef struct FT_Raster_Funcs_ FT_Raster_Funcs
 
typedef int(* FT_Raster_NewFunc )(void *memory, FT_Raster *raster)
 
typedef struct FT_Raster_Params_ FT_Raster_Params
 
typedef int(* FT_Raster_RenderFunc )(FT_Raster raster, const FT_Raster_Params *params)
 
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 struct FT_Span_ FT_Span
 
typedef void(* FT_SpanFunc )(int y, int count, const FT_Span *spans, void *user)
 
typedef struct FT_Vector_ FT_Vector
 

Enumerations

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 ) }
 
enum  FT_Pixel_Mode_ {
  FT_PIXEL_MODE_NONE = 0, FT_PIXEL_MODE_MONO, FT_PIXEL_MODE_GRAY, FT_PIXEL_MODE_GRAY2,
  FT_PIXEL_MODE_GRAY4, FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V, FT_PIXEL_MODE_MAX
}
 

Variables

FT_BEGIN_HEADER typedef signed long FT_Pos
 

Macro Definition Documentation

#define FT_CURVE_TAG (   flag)    ( flag & 3 )
#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC

Definition at line 529 of file ftimage.h.

#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC

Definition at line 530 of file ftimage.h.

#define FT_CURVE_TAG_HAS_SCANMODE   4

Definition at line 520 of file ftimage.h.

Referenced by Decompose_Curve(), and TT_Hint_Glyph().

#define FT_Curve_Tag_On   FT_CURVE_TAG_ON

Definition at line 528 of file ftimage.h.

#define FT_CURVE_TAG_TOUCH_BOTH
Value:
#define FT_CURVE_TAG_TOUCH_X
Definition: ftimage.h:522
#define FT_CURVE_TAG_TOUCH_Y
Definition: ftimage.h:523

Definition at line 525 of file ftimage.h.

Referenced by TT_Process_Composite_Glyph().

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

Definition at line 522 of file ftimage.h.

#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X

Definition at line 531 of file ftimage.h.

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

Definition at line 523 of file ftimage.h.

#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y

Definition at line 532 of file ftimage.h.

#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP

Definition at line 808 of file ftimage.h.

#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE

Definition at line 807 of file ftimage.h.

#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE

Definition at line 806 of file ftimage.h.

#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE

Definition at line 809 of file ftimage.h.

#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER

Definition at line 810 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 )
EGLSurface EGLint void ** value
Definition: eglext.h:301

Definition at line 732 of file ftimage.h.

#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc

Definition at line 618 of file ftimage.h.

#define FT_OUTLINE_CONTOURS_MAX   SHRT_MAX

Definition at line 398 of file ftimage.h.

Referenced by FT_GlyphLoader_CheckPoints().

#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc

Definition at line 651 of file ftimage.h.

#define FT_OUTLINE_EVEN_ODD_FILL   0x2

Definition at line 476 of file ftimage.h.

Referenced by gray_hline().

#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL

Definition at line 506 of file ftimage.h.

#define FT_OUTLINE_HIGH_PRECISION   0x100
#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION

Definition at line 509 of file ftimage.h.

#define FT_OUTLINE_IGNORE_DROPOUTS   0x8

Definition at line 478 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS

Definition at line 508 of file ftimage.h.

#define FT_OUTLINE_INCLUDE_STUBS   0x20

Definition at line 480 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc

Definition at line 586 of file ftimage.h.

#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc

Definition at line 559 of file ftimage.h.

#define FT_OUTLINE_NONE   0x0

Definition at line 474 of file ftimage.h.

#define ft_outline_none   FT_OUTLINE_NONE

Definition at line 504 of file ftimage.h.

#define ft_outline_owner   FT_OUTLINE_OWNER

Definition at line 505 of file ftimage.h.

#define FT_OUTLINE_POINTS_MAX   SHRT_MAX

Definition at line 399 of file ftimage.h.

Referenced by FT_GlyphLoader_CheckPoints().

#define FT_OUTLINE_REVERSE_FILL   0x4
#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL

Definition at line 507 of file ftimage.h.

#define FT_OUTLINE_SINGLE_PASS   0x200

Definition at line 483 of file ftimage.h.

Referenced by Render_Glyph(), and TT_Load_Glyph().

#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS

Definition at line 510 of file ftimage.h.

#define FT_OUTLINE_SMART_DROPOUTS   0x10

Definition at line 479 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 1164 of file ftimage.h.

#define FT_RASTER_FLAG_AA   0x1
#define ft_raster_flag_aa   FT_RASTER_FLAG_AA

Definition at line 1049 of file ftimage.h.

#define FT_RASTER_FLAG_CLIP   0x4

Definition at line 1045 of file ftimage.h.

Referenced by gray_raster_render().

#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP

Definition at line 1051 of file ftimage.h.

#define FT_RASTER_FLAG_DEFAULT   0x0

Definition at line 1042 of file ftimage.h.

#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT

Definition at line 1048 of file ftimage.h.

#define FT_RASTER_FLAG_DIRECT   0x2

Definition at line 1044 of file ftimage.h.

Referenced by ft_black_render(), and gray_raster_render().

#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT

Definition at line 1050 of file ftimage.h.

#define FT_Raster_New_Func   FT_Raster_NewFunc

Definition at line 1147 of file ftimage.h.

#define FT_Raster_Render_Func   FT_Raster_RenderFunc

Definition at line 1266 of file ftimage.h.

#define FT_Raster_Reset_Func   FT_Raster_ResetFunc

Definition at line 1199 of file ftimage.h.

#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc

Definition at line 1225 of file ftimage.h.

#define FT_Raster_Span_Func   FT_SpanFunc

Definition at line 942 of file ftimage.h.

Referenced by gray_raster_render().

Typedef Documentation

typedef struct FT_BBox_ FT_BBox
typedef struct FT_Bitmap_ FT_Bitmap
typedef struct FT_Outline_ FT_Outline
typedef int(* FT_Outline_ConicToFunc)(const FT_Vector *control, const FT_Vector *to, void *user)

Definition at line 614 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 646 of file ftimage.h.

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

Definition at line 583 of file ftimage.h.

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

Definition at line 556 of file ftimage.h.

typedef struct FT_RasterRec_* FT_Raster

Definition at line 862 of file ftimage.h.

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

Definition at line 997 of file ftimage.h.

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

Definition at line 969 of file ftimage.h.

typedef void(* FT_Raster_DoneFunc)(FT_Raster raster)

Definition at line 1162 of file ftimage.h.

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

Definition at line 1144 of file ftimage.h.

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

Definition at line 1263 of file ftimage.h.

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

Definition at line 1195 of file ftimage.h.

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

Definition at line 1221 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 937 of file ftimage.h.

typedef struct FT_Vector_ FT_Vector

Enumeration Type Documentation

Enumerator
FT_IMAGE_TAG 
FT_IMAGE_TAG 
FT_IMAGE_TAG 
FT_IMAGE_TAG 

Definition at line 778 of file ftimage.h.

Enumerator
FT_PIXEL_MODE_NONE 
FT_PIXEL_MODE_MONO 
FT_PIXEL_MODE_GRAY 
FT_PIXEL_MODE_GRAY2 
FT_PIXEL_MODE_GRAY4 
FT_PIXEL_MODE_LCD 
FT_PIXEL_MODE_LCD_V 
FT_PIXEL_MODE_MAX 

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_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_compute_segments(), 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_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_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(), for(), 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_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().