ReactOS
0.4.15-dev-4914-g2220e56
|
#include "aftypes.h"
Go to the source code of this file.
Classes | |
struct | AF_PointRec_ |
struct | AF_SegmentRec_ |
struct | AF_EdgeRec_ |
struct | AF_AxisHintsRec_ |
struct | AF_GlyphHintsRec_ |
Typedefs | |
typedef FT_BEGIN_HEADER enum AF_Dimension_ | AF_Dimension |
typedef enum AF_Direction_ | AF_Direction |
typedef struct AF_PointRec_ * | AF_Point |
typedef struct AF_SegmentRec_ * | AF_Segment |
typedef struct AF_EdgeRec_ * | AF_Edge |
typedef struct AF_PointRec_ | AF_PointRec |
typedef struct AF_SegmentRec_ | AF_SegmentRec |
typedef struct AF_EdgeRec_ | AF_EdgeRec |
typedef struct AF_AxisHintsRec_ | AF_AxisHintsRec |
typedef struct AF_AxisHintsRec_ * | AF_AxisHints |
typedef struct AF_GlyphHintsRec_ | AF_GlyphHintsRec |
Enumerations | |
enum | AF_Dimension_ { AF_DIMENSION_HORZ = 0, AF_DIMENSION_VERT = 1, AF_DIMENSION_MAX } |
enum | AF_Direction_ { AF_DIR_NONE = 4, AF_DIR_RIGHT = 1, AF_DIR_LEFT = -1, AF_DIR_UP = 2, AF_DIR_DOWN = -2 } |
Functions | |
af_direction_compute (FT_Pos dx, FT_Pos dy) | |
af_axis_hints_new_segment (AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment) | |
af_axis_hints_new_edge (AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Bool top_to_bottom_hinting, FT_Memory memory, AF_Edge *edge) | |
af_glyph_hints_init (AF_GlyphHints hints, FT_Memory memory) | |
af_glyph_hints_rescale (AF_GlyphHints hints, AF_StyleMetrics metrics) | |
af_glyph_hints_reload (AF_GlyphHints hints, FT_Outline *outline) | |
af_glyph_hints_save (AF_GlyphHints hints, FT_Outline *outline) | |
af_glyph_hints_align_edge_points (AF_GlyphHints hints, AF_Dimension dim) | |
af_glyph_hints_align_strong_points (AF_GlyphHints hints, AF_Dimension dim) | |
af_glyph_hints_align_weak_points (AF_GlyphHints hints, AF_Dimension dim) | |
af_glyph_hints_done (AF_GlyphHints hints) | |
#define AF_EDGE_DONE ( 1U << 2 ) |
#define AF_EDGE_NEUTRAL ( 1U << 3 ) /* edge aligns to a neutral blue zone */ |
#define AF_EDGE_NEUTRAL ( 1U << 3 ) /* edge aligns to a neutral blue zone */ |
#define AF_EDGE_NORMAL 0 |
#define AF_EDGE_ROUND ( 1U << 0 ) |
#define AF_EDGE_SERIF ( 1U << 1 ) |
#define AF_FLAG_CONIC ( 1U << 0 ) |
#define AF_FLAG_CONTROL ( AF_FLAG_CONIC | AF_FLAG_CUBIC ) |
#define AF_FLAG_CONTROL ( AF_FLAG_CONIC | AF_FLAG_CUBIC ) |
#define AF_FLAG_CUBIC ( 1U << 1 ) |
#define AF_FLAG_NEAR ( 1U << 5 ) |
#define AF_FLAG_NONE 0 |
#define AF_FLAG_TOUCH_X ( 1U << 2 ) |
#define AF_FLAG_TOUCH_Y ( 1U << 3 ) |
#define AF_FLAG_WEAK_INTERPOLATION ( 1U << 4 ) |
#define AF_HINTS_DO_ADVANCE | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE ) |
#define AF_HINTS_DO_ADVANCE | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE ) |
#define AF_HINTS_DO_HORIZONTAL | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) |
#define AF_HINTS_DO_HORIZONTAL | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) |
#define AF_HINTS_DO_VERTICAL | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) |
#define AF_HINTS_DO_VERTICAL | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) |
#define AF_HINTS_DO_WARP | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_WARPER ) |
#define AF_HINTS_DO_WARP | ( | h | ) | !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_WARPER ) |
#define AF_SEGMENT_DIST | ( | seg1, | |
seg2 | |||
) |
#define AF_SEGMENT_DIST | ( | seg1, | |
seg2 | |||
) |
#define AF_SEGMENT_LEN | ( | seg | ) | ( (seg)->max_coord - (seg)->min_coord ) |
#define AF_SEGMENT_LEN | ( | seg | ) | ( (seg)->max_coord - (seg)->min_coord ) |
#define AFHINTS_H_ |
#define xxAF_SORT_SEGMENTS |
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 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 |
Enumerator | |
---|---|
AF_DIMENSION_HORZ | |
AF_DIMENSION_VERT | |
AF_DIMENSION_MAX |
Definition at line 33 of file afhints.h.
Enumerator | |
---|---|
AF_DIR_NONE | |
AF_DIR_RIGHT | |
AF_DIR_LEFT | |
AF_DIR_UP | |
AF_DIR_DOWN |
Definition at line 47 of file afhints.h.
af_axis_hints_new_edge | ( | AF_AxisHints | axis, |
FT_Int | fpos, | ||
AF_Direction | dir, | ||
FT_Bool | top_to_bottom_hinting, | ||
FT_Memory | memory, | ||
AF_Edge * | edge | ||
) |
Definition at line 99 of file afhints.c.
Referenced by af_latin_hints_compute_edges().
af_axis_hints_new_segment | ( | AF_AxisHints | axis, |
FT_Memory | memory, | ||
AF_Segment * | asegment | ||
) |
Definition at line 38 of file afhints.c.
Referenced by af_latin_hints_compute_segments().
Definition at line 613 of file afhints.c.
Referenced by af_glyph_hints_reload().
af_glyph_hints_align_edge_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1181 of file afhints.c.
Referenced by af_latin_hints_apply().
af_glyph_hints_align_strong_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1256 of file afhints.c.
Referenced by af_latin_hints_apply().
af_glyph_hints_align_weak_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1507 of file afhints.c.
Referenced by af_latin_hints_apply().
af_glyph_hints_done | ( | AF_GlyphHints | hints | ) |
Definition at line 672 of file afhints.c.
Referenced by af_autofitter_done(), af_autofitter_load_glyph(), and af_latin_metrics_init_widths().
af_glyph_hints_init | ( | AF_GlyphHints | hints, |
FT_Memory | memory | ||
) |
Definition at line 662 of file afhints.c.
Referenced by af_autofitter_load_glyph(), and af_latin_metrics_init_widths().
af_glyph_hints_reload | ( | AF_GlyphHints | hints, |
FT_Outline * | outline | ||
) |
Definition at line 732 of file afhints.c.
Referenced by af_dummy_hints_apply(), af_latin_hints_apply(), and af_latin_metrics_init_widths().
af_glyph_hints_rescale | ( | AF_GlyphHints | hints, |
AF_StyleMetrics | metrics | ||
) |
Definition at line 720 of file afhints.c.
Referenced by af_dummy_hints_init(), af_latin_hints_init(), and af_latin_metrics_init_widths().
af_glyph_hints_save | ( | AF_GlyphHints | hints, |
FT_Outline * | outline | ||
) |
Definition at line 1146 of file afhints.c.
Referenced by af_dummy_hints_apply(), and af_latin_hints_apply().