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_aflatin |
#define | AF_LATIN_MAX_TEST_CHARACTERS 12 |
Functions | |
af_latin_metrics_init_widths (AF_LatinMetrics metrics, FT_Face face) | |
af_latin_metrics_check_digits (AF_LatinMetrics metrics, FT_Face face) | |
af_latin_metrics_init (AF_LatinMetrics metrics, FT_Face face) | |
af_latin_metrics_scale (AF_LatinMetrics metrics, AF_Scaler scaler) | |
af_latin_hints_compute_segments (AF_GlyphHints hints, AF_Dimension dim) | |
af_latin_hints_link_segments (AF_GlyphHints hints, AF_Dimension dim) | |
af_latin_hints_compute_edges (AF_GlyphHints hints, AF_Dimension dim) | |
af_latin_hints_detect_features (AF_GlyphHints hints, AF_Dimension dim) | |
af_latin_hints_compute_blue_edges (AF_GlyphHints hints, AF_LatinMetrics metrics) | |
af_latin_hint_edges (AF_GlyphHints hints, AF_Dimension dim) | |
af_latin_hint_edges | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1865 of file aflatin.c.
References AF_DIMENSION_VERT, AF_EDGE_DONE, AF_HINTS_DO_BLUES, AF_GlyphHintsRec_::axis, AF_EdgeRec_::blue_edge, AF_AxisHintsRec_::edges, AF_EdgeRec_::flags, FT_TRACE5, AF_EdgeRec_::link, NULL, AF_AxisHintsRec_::num_edges, AF_EdgeRec_::opos, and AF_EdgeRec_::pos.
af_latin_hints_compute_blue_edges | ( | AF_GlyphHints | hints, |
AF_LatinMetrics | metrics | ||
) |
Definition at line 1421 of file aflatin.c.
References AF_DIMENSION_VERT, AF_EDGE_ROUND, AF_LATIN_BLUE_ACTIVE, AF_LATIN_BLUE_TOP, AF_LatinMetricsRec_::axis, AF_LatinAxisRec_::blue_count, AF_EdgeRec_::blue_edge, AF_LatinAxisRec_::blues, AF_EdgeRec_::dir, AF_AxisHintsRec_::edges, AF_LatinBlueRec_::flags, AF_EdgeRec_::flags, AF_EdgeRec_::fpos, FT_Bool, FT_BOOL, FT_MulFix(), FT_Pos, AF_AxisHintsRec_::major_dir, NULL, AF_AxisHintsRec_::num_edges, AF_LatinBlueRec_::ref, AF_LatinAxisRec_::scale, AF_LatinBlueRec_::shoot, and AF_LatinMetricsRec_::units_per_em.
af_latin_hints_compute_edges | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1106 of file aflatin.c.
References af_axis_hints_new_edge(), AF_DIMENSION_HORZ, AF_DIR_NONE, AF_DIR_RIGHT, AF_DIR_UP, AF_EDGE_NORMAL, AF_EDGE_ROUND, AF_EDGE_SERIF, AF_SegmentRec_::dir, AF_EdgeRec_::dir, AF_SegmentRec_::edge, AF_LatinAxisRec_::edge_distance_threshold, AF_SegmentRec_::edge_next, AF_AxisHintsRec_::edges, error, AF_EdgeRec_::first, AF_SegmentRec_::flags, AF_EdgeRec_::flags, AF_EdgeRec_::fpos, FT_Bool, FT_DivFix(), FT_Err_Ok, FT_LOCAL_DEF, FT_MulFix(), FT_Pos, FT_ZERO, AF_SegmentRec_::height, AF_EdgeRec_::last, AF_SegmentRec_::link, AF_EdgeRec_::link, AF_SegmentRec_::max_coord, AF_SegmentRec_::min_coord, NULL, AF_AxisHintsRec_::num_edges, AF_AxisHintsRec_::num_segments, AF_EdgeRec_::opos, AF_SegmentRec_::pos, AF_EdgeRec_::pos, AF_AxisHintsRec_::segments, AF_SegmentRec_::serif, and AF_EdgeRec_::serif.
Referenced by af_latin_hints_detect_features().
af_latin_hints_compute_segments | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 793 of file aflatin.c.
References af_axis_hints_new_segment(), AF_DIMENSION_HORZ, AF_EDGE_NORMAL, AF_EDGE_ROUND, AF_FLAG_CONTROL, AF_SegmentRec_::dir, error, AF_SegmentRec_::first, AF_PointRec_::flags, AF_SegmentRec_::flags, FT_ABS, FT_Bool, FT_Err_Ok, FT_LOCAL_DEF, FT_Pos, FT_ZERO, AF_PointRec_::fx, AF_PointRec_::fy, AF_SegmentRec_::height, if(), AF_SegmentRec_::last, AF_AxisHintsRec_::major_dir, AF_SegmentRec_::max_coord, AF_SegmentRec_::min_coord, AF_PointRec_::next, NULL, AF_AxisHintsRec_::num_segments, AF_PointRec_::out_dir, AF_SegmentRec_::pos, AF_PointRec_::prev, AF_SegmentRec_::score, AF_AxisHintsRec_::segments, AF_PointRec_::u, and AF_PointRec_::v.
Referenced by af_latin_hints_detect_features(), and af_latin_metrics_init_widths().
af_latin_hints_detect_features | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1400 of file aflatin.c.
References af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_hints_link_segments(), error, and FT_LOCAL_DEF.
af_latin_hints_link_segments | ( | AF_GlyphHints | hints, |
AF_Dimension | dim | ||
) |
Definition at line 1013 of file aflatin.c.
References AF_LATIN_CONSTANT, AF_SegmentRec_::dir, AF_SegmentRec_::first, FT_LOCAL_DEF, FT_Pos, AF_SegmentRec_::last, AF_SegmentRec_::link, AF_AxisHintsRec_::major_dir, max, AF_SegmentRec_::max_coord, vl::min(), AF_SegmentRec_::min_coord, AF_AxisHintsRec_::num_segments, AF_SegmentRec_::pos, AF_SegmentRec_::score, AF_AxisHintsRec_::segments, and AF_SegmentRec_::serif.
Referenced by af_latin_hints_detect_features(), and af_latin_metrics_init_widths().
af_latin_metrics_check_digits | ( | AF_LatinMetrics | metrics, |
FT_Face | face | ||
) |
Definition at line 501 of file aflatin.c.
References AF_ScriptMetricsRec_::digits_have_same_width, FT_Bool, FT_Get_Advance(), FT_Get_Char_Index(), FT_LOAD_IGNORE_TRANSFORM, FT_LOAD_NO_HINTING, FT_LOAD_NO_SCALE, FT_LOCAL_DEF, i, and AF_LatinMetricsRec_::root.
af_latin_metrics_init | ( | AF_LatinMetrics | metrics, |
FT_Face | face | ||
) |
Definition at line 548 of file aflatin.c.
References af_latin_metrics_init_widths(), FT_FaceRec_::charmap, FT_Select_Charmap(), AF_LatinMetricsRec_::units_per_em, and FT_FaceRec_::units_per_EM.
af_latin_metrics_init_widths | ( | AF_LatinMetrics | metrics, |
FT_Face | face | ||
) |
Definition at line 56 of file aflatin.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_MAX, AF_DIMENSION_VERT, af_glyph_hints_done(), af_glyph_hints_init(), af_glyph_hints_reload(), af_glyph_hints_rescale(), AF_LATIN_CONSTANT, af_latin_hints_compute_segments(), af_latin_hints_link_segments(), AF_LATIN_MAX_WIDTHS, af_sort_and_quantize_widths(), AF_GlyphHintsRec_::axis, AF_LatinAxisRec_::edge_distance_threshold, error, AF_LatinAxisRec_::extra_light, AF_ScalerRec_::face, AF_ScalerRec_::flags, FT_Get_Char_Index(), FT_Load_Glyph(), FT_LOAD_NO_SCALE, FT_Pos, FT_RENDER_MODE_NORMAL, FT_TRACE5, FT_ZERO, i, AF_SegmentRec_::link, AF_GlyphHintsRec_::memory, AF_AxisHintsRec_::num_segments, AF_SegmentRec_::pos, AF_ScalerRec_::render_mode, AF_LatinMetricsRec_::root, AF_ScriptMetricsRec_::scaler, AF_AxisHintsRec_::segments, AF_LatinAxisRec_::standard_width, AF_LatinMetricsRec_::units_per_em, AF_LatinAxisRec_::width_count, AF_LatinAxisRec_::widths, AF_ScalerRec_::x_delta, AF_ScalerRec_::x_scale, AF_ScalerRec_::y_delta, and AF_ScalerRec_::y_scale.
Referenced by af_latin_metrics_init().
af_latin_metrics_scale | ( | AF_LatinMetrics | metrics, |
AF_Scaler | scaler | ||
) |
Definition at line 769 of file aflatin.c.
References AF_ScalerRec_::face, AF_ScalerRec_::flags, AF_ScalerRec_::render_mode, AF_LatinMetricsRec_::root, and AF_ScriptMetricsRec_::scaler.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:54.
© Copyright Michele Bosi. All rights reserved.