#include "aftypes.h"
Go to the source code of this file.
#define AF_HINTS_DO_BLUES | ( | h | ) | 1 |
Definition at line 251 of file afhints.h.
Referenced by af_latin2_hint_edges(), and af_latin_hint_edges().
Definition at line 242 of file afhints.h.
Referenced by af_latin2_hints_apply(), and af_latin_hints_apply().
Definition at line 245 of file afhints.h.
Referenced by af_latin2_hints_apply(), and af_latin_hints_apply().
#define AF_SEGMENT_DIST | ( | seg1, | |||
seg2 | ) |
#define AF_SEGMENT_LEN | ( | seg | ) | ( (seg)->max_coord - (seg)->min_coord ) |
typedef struct AF_AxisHintsRec_ * AF_AxisHints |
typedef struct AF_AxisHintsRec_ AF_AxisHintsRec |
typedef FT_BEGIN_HEADER enum AF_Dimension_ AF_Dimension |
typedef enum AF_Direction_ AF_Direction |
typedef struct AF_EdgeRec_* AF_Edge |
typedef enum AF_Edge_Flags_ AF_Edge_Flags |
typedef struct AF_EdgeRec_ AF_EdgeRec |
typedef struct AF_GlyphHintsRec_ AF_GlyphHintsRec |
typedef struct AF_PointRec_* AF_Point |
typedef struct AF_PointRec_ AF_PointRec |
typedef struct AF_SegmentRec_* AF_Segment |
typedef struct AF_SegmentRec_ AF_SegmentRec |
enum AF_Dimension_ |
enum AF_Direction_ |
enum AF_Edge_Flags_ |
af_axis_hints_new_edge | ( | AF_AxisHints | axis, | |
FT_Int | fpos, | |||
AF_Direction | dir, | |||
FT_Memory | memory, | |||
AF_Edge * | edge | |||
) |
Definition at line 65 of file afhints.c.
References AF_EdgeRec_::dir, error, AF_EdgeRec_::fpos, FT_INT_MAX, FT_RENEW_ARRAY, FT_ZERO, and NULL.
Referenced by af_latin_hints_compute_edges().
af_axis_hints_new_segment | ( | AF_AxisHints | axis, | |
FT_Memory | memory, | |||
AF_Segment * | asegment | |||
) |
Definition at line 334 of file afhints.c.
References AF_DIR_DOWN, AF_DIR_LEFT, AF_DIR_NONE, AF_DIR_RIGHT, AF_DIR_UP, FT_ABS, and FT_Pos.
Referenced by af_glyph_hints_reload().
af_glyph_hints_align_edge_points | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 798 of file afhints.c.
References AF_DIMENSION_HORZ, AF_FLAG_TOUCH_X, AF_FLAG_TOUCH_Y, axis, AF_SegmentRec_::edge, AF_SegmentRec_::first, if(), AF_SegmentRec_::last, NULL, AF_EdgeRec_::pos, POINT::x, and POINT::y.
Referenced by af_latin2_hints_apply(), and af_latin_hints_apply().
af_glyph_hints_align_strong_points | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 874 of file afhints.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_VERT, AF_FLAG_INFLECTION, AF_FLAG_TOUCH_X, AF_FLAG_TOUCH_Y, AF_FLAG_WEAK_INTERPOLATION, axis, AF_EdgeRec_::fpos, FT_DivFix(), FT_MulFix(), FT_Pos, if(), max, min, AF_EdgeRec_::opos, points, AF_EdgeRec_::pos, AF_EdgeRec_::scale, u, POINT::x, and POINT::y.
Referenced by af_latin2_hints_apply(), and af_latin_hints_apply().
af_glyph_hints_align_weak_points | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 1112 of file afhints.c.
References AF_DIMENSION_HORZ, AF_FLAG_TOUCH_X, AF_FLAG_TOUCH_Y, af_iup_interp(), af_iup_shift(), FT_ASSERT, points, POINT::x, and POINT::y.
Referenced by af_latin2_hints_apply(), and af_latin_hints_apply().
af_glyph_hints_done | ( | AF_GlyphHints | hints | ) |
Definition at line 504 of file afhints.c.
References AF_DIMENSION_MAX, axis, FT_FREE, and NULL.
Referenced by af_loader_done().
af_glyph_hints_init | ( | AF_GlyphHints | hints, | |
FT_Memory | memory | |||
) |
Definition at line 495 of file afhints.c.
References FT_ZERO.
Referenced by af_latin2_metrics_init_widths(), af_latin_metrics_init_widths(), and af_loader_init().
af_glyph_hints_reload | ( | AF_GlyphHints | hints, | |
FT_Outline * | outline, | |||
FT_Bool | get_inflections | |||
) |
Definition at line 553 of file afhints.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_VERT, AF_DIR_DOWN, AF_DIR_LEFT, AF_DIR_NONE, AF_DIR_RIGHT, AF_DIR_UP, af_direction_compute(), AF_FLAG_CONIC, AF_FLAG_CUBIC, AF_FLAG_WEAK_INTERPOLATION, af_glyph_hints_compute_inflections(), error, ft_corner_is_flat(), FT_CURVE_TAG, FT_CURVE_TAG_CONIC, FT_CURVE_TAG_CUBIC, FT_MulFix(), FT_ORIENTATION_POSTSCRIPT, FT_Outline_Get_Orientation(), FT_Pos, FT_RENEW_ARRAY, FT_UNUSED, AF_PointRec_::fx, AF_PointRec_::fy, if(), AF_PointRec_::next, NULL, points, short, POINT::x, and POINT::y.
Referenced by af_latin2_hints_apply(), af_latin2_metrics_init_widths(), af_latin_hints_apply(), and af_latin_metrics_init_widths().
af_glyph_hints_rescale | ( | AF_GlyphHints | hints, | |
AF_ScriptMetrics | metrics | |||
) |
Definition at line 544 of file afhints.c.
Referenced by af_dummy_hints_init(), af_latin2_hints_init(), af_latin2_metrics_init_widths(), af_latin_hints_init(), and af_latin_metrics_init_widths().
af_glyph_hints_save | ( | AF_GlyphHints | hints, | |
FT_Outline * | outline | |||
) |
Definition at line 766 of file afhints.c.
References AF_FLAG_CONIC, AF_FLAG_CUBIC, FT_CURVE_TAG_CONIC, FT_CURVE_TAG_CUBIC, FT_CURVE_TAG_ON, if(), POINT::x, and POINT::y.