Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_afhints |
af_axis_hints_new_edge | ( | AF_AxisHints | axis, |
FT_Int | fpos, | ||
AF_Direction | dir, | ||
FT_Memory | memory, | ||
AF_Edge * | anedge | ||
) |
Definition at line 80 of file afhints.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_VERT, AF_DIR_DOWN, AF_DIR_LEFT, AF_DIR_RIGHT, AF_DIR_UP, AF_EDGE_ROUND, AF_EDGE_SERIF, AF_FLAG_EXTREMA_X, AF_FLAG_EXTREMA_Y, AF_FLAG_INFLECTION, AF_FLAG_ROUND_X, AF_FLAG_ROUND_Y, AF_FLAG_WEAK_INTERPOLATION, af_glyph_hints_dump_edges(), af_glyph_hints_dump_points(), af_glyph_hints_dump_segments(), af_glyph_hints_get_num_segments(), af_glyph_hints_get_segment_offset(), AF_GlyphHintsRec_::axis, AF_EdgeRec_::blue_edge, AF_SegmentRec_::dir, AF_EdgeRec_::dir, AF_SegmentRec_::edge, AF_AxisHintsRec_::edges, error, AF_SegmentRec_::first, AF_PointRec_::flags, AF_SegmentRec_::flags, AF_EdgeRec_::flags, AF_EdgeRec_::fpos, FT_Err_Ok, FT_INT_MAX, ft_memcpy, FT_Pos, FT_RENEW_ARRAY, FT_THROW(), FT_TRACE7, FT_ZERO, AF_PointRec_::fx, AF_PointRec_::fy, AF_SegmentRec_::height, idx, AF_SegmentRec_::last, AF_SegmentRec_::link, AF_EdgeRec_::link, AF_SegmentRec_::max_coord, AF_SegmentRec_::min_coord, NULL, AF_AxisHintsRec_::num_edges, AF_GlyphHintsRec_::num_points, AF_AxisHintsRec_::num_segments, AF_EdgeRec_::opos, AF_PointRec_::ox, AF_PointRec_::oy, AF_GlyphHintsRec_::points, AF_EdgeRec_::pos, AF_AxisHintsRec_::segments, AF_SegmentRec_::serif, AF_EdgeRec_::serif, AF_PointRec_::x, and AF_PointRec_::y.
Referenced by af_latin2_hints_compute_edges(), and 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.
References error, FT_Err_Ok, FT_INT_MAX, FT_LOCAL, FT_RENEW_ARRAY, FT_THROW(), and NULL.
Referenced by af_latin2_hints_compute_segments(), and af_latin_hints_compute_segments().
Definition at line 481 of file afhints.c.
References AF_DIR_DOWN, AF_DIR_LEFT, AF_DIR_NONE, AF_DIR_RIGHT, AF_DIR_UP, FT_ABS, FT_LOCAL_DEF, and FT_Pos.
Referenced by af_glyph_hints_reload().
af_glyph_hints_align_edge_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 836 of file afhints.c.
References AF_DIMENSION_HORZ, AF_FLAG_TOUCH_X, AF_FLAG_TOUCH_Y, AF_SegmentRec_::edge, AF_SegmentRec_::first, AF_PointRec_::flags, FT_LOCAL_DEF, AF_SegmentRec_::last, AF_PointRec_::next, NULL, AF_AxisHintsRec_::num_segments, AF_EdgeRec_::pos, AF_AxisHintsRec_::segments, AF_PointRec_::x, and AF_PointRec_::y.
af_glyph_hints_align_strong_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 911 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, AF_AxisHintsRec_::edges, AF_PointRec_::flags, AF_EdgeRec_::fpos, FT_DivFix(), FT_MulFix(), FT_Pos, AF_PointRec_::fx, AF_PointRec_::fy, max, vl::min(), AF_AxisHintsRec_::num_edges, AF_EdgeRec_::opos, AF_PointRec_::ox, AF_PointRec_::oy, AF_EdgeRec_::pos, AF_EdgeRec_::scale, AF_PointRec_::x, and AF_PointRec_::y.
af_glyph_hints_align_weak_points | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1166 of file afhints.c.
References AF_DIMENSION_HORZ, AF_FLAG_TOUCH_X, AF_FLAG_TOUCH_Y, AF_PointRec_::flags, FT_ASSERT, AF_PointRec_::ox, AF_PointRec_::oy, AF_PointRec_::prev, AF_PointRec_::u, AF_PointRec_::v, AF_PointRec_::x, and AF_PointRec_::y.
af_glyph_hints_done | ( | AF_GlyphHints | hints | ) |
Definition at line 539 of file afhints.c.
References AF_DIMENSION_MAX, AF_AxisHintsRec_::edges, FT_FREE, FT_LOCAL_DEF, AF_AxisHintsRec_::max_edges, AF_AxisHintsRec_::max_segments, NULL, AF_AxisHintsRec_::num_edges, AF_AxisHintsRec_::num_segments, and AF_AxisHintsRec_::segments.
Referenced by af_latin2_metrics_init_widths(), af_latin_metrics_init_widths(), and af_loader_done().
void af_glyph_hints_dump_edges | ( | AF_GlyphHints | hints | ) |
Definition at line 466 of file afhints.c.
References FT_LOCAL_DEF, and FT_UNUSED.
Referenced by af_axis_hints_new_edge().
void af_glyph_hints_dump_points | ( | AF_GlyphHints | hints | ) |
Definition at line 424 of file afhints.c.
References FT_UNUSED.
Referenced by af_axis_hints_new_edge().
void af_glyph_hints_dump_segments | ( | AF_GlyphHints | hints | ) |
Definition at line 431 of file afhints.c.
References FT_UNUSED.
Referenced by af_axis_hints_new_edge().
FT_Error af_glyph_hints_get_num_segments | ( | AF_GlyphHints | hints, |
FT_Int | dimension, | ||
FT_Int * | num_segments | ||
) |
Definition at line 438 of file afhints.c.
References FT_UNUSED.
Referenced by af_axis_hints_new_edge().
FT_Error af_glyph_hints_get_segment_offset | ( | AF_GlyphHints | hints, |
FT_Int | dimension, | ||
FT_Int | idx, | ||
FT_Pos * | offset | ||
) |
Definition at line 451 of file afhints.c.
References FT_UNUSED.
Referenced by af_axis_hints_new_edge().
af_glyph_hints_init | ( | AF_GlyphHints | hints, |
FT_Memory | memory | ||
) |
Definition at line 530 of file afhints.c.
References FT_LOCAL_DEF, and 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 | ||
) |
Definition at line 593 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_CONTROL, AF_FLAG_CUBIC, AF_FLAG_NONE, AF_FLAG_WEAK_INTERPOLATION, error, AF_PointRec_::flags, ft_corner_is_flat(), FT_CURVE_TAG, FT_CURVE_TAG_CONIC, FT_CURVE_TAG_CUBIC, FT_Err_Ok, FT_LOCAL_DEF, FT_MulFix(), FT_ORIENTATION_POSTSCRIPT, FT_Outline_Get_Orientation(), FT_Pos, FT_RENEW_ARRAY, AF_PointRec_::fx, AF_PointRec_::fy, idx, if(), AF_PointRec_::in_dir, AF_PointRec_::next, NULL, AF_PointRec_::out_dir, AF_PointRec_::ox, AF_PointRec_::oy, AF_PointRec_::prev, vec, AF_PointRec_::x, and AF_PointRec_::y.
Referenced by af_latin2_metrics_init_widths(), and af_latin_metrics_init_widths().
af_glyph_hints_rescale | ( | AF_GlyphHints | hints, |
AF_ScriptMetrics | metrics | ||
) |
Definition at line 581 of file afhints.c.
References FT_LOCAL_DEF.
Referenced by af_latin2_metrics_init_widths(), and af_latin_metrics_init_widths().
af_glyph_hints_save | ( | AF_GlyphHints | hints, |
FT_Outline * | outline | ||
) |
Definition at line 801 of file afhints.c.
References AF_FLAG_CONIC, AF_FLAG_CUBIC, AF_PointRec_::flags, FT_CURVE_TAG_CONIC, FT_CURVE_TAG_CUBIC, FT_CURVE_TAG_ON, FT_LOCAL_DEF, vec, FT_Vector_::x, AF_PointRec_::x, FT_Vector_::y, and AF_PointRec_::y.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:54.
© Copyright Michele Bosi. All rights reserved.