Home
last modified time | relevance | path

Searched refs:major_dir (Results 1 – 7 of 7) sorted by relevance

/external/freetype/src/autofit/
Daflatin2.c688 AF_Direction major_dir, segment_dir; in af_latin2_hints_compute_segments() local
695 major_dir = (AF_Direction)FT_ABS( axis->major_dir ); in af_latin2_hints_compute_segments()
696 segment_dir = major_dir; in af_latin2_hints_compute_segments()
738 if ( FT_ABS( point->in_dir ) == major_dir ) in af_latin2_hints_compute_segments()
747 while ( FT_ABS( point->out_dir ) != major_dir ) in af_latin2_hints_compute_segments()
764 FT_ASSERT( FT_ABS( point->out_dir ) == major_dir && in af_latin2_hints_compute_segments()
835 while ( FT_ABS(point->out_dir) != major_dir ) in af_latin2_hints_compute_segments()
957 if ( seg1->dir != axis->major_dir || seg1->first == seg1->last ) in af_latin2_hints_link_segments()
967 if ( seg1->dir != axis->major_dir || seg1->first == seg1->last ) in af_latin2_hints_link_segments()
1401 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_latin2_hints_compute_blue_edges()
Daflatin.c736 AF_Direction major_dir, segment_dir; in af_latin_hints_compute_segments() local
743 major_dir = (AF_Direction)FT_ABS( axis->major_dir ); in af_latin_hints_compute_segments()
744 segment_dir = major_dir; in af_latin_hints_compute_segments()
788 if ( FT_ABS( last->out_dir ) == major_dir && in af_latin_hints_compute_segments()
789 FT_ABS( point->out_dir ) == major_dir ) in af_latin_hints_compute_segments()
797 if ( FT_ABS( point->out_dir ) != major_dir ) in af_latin_hints_compute_segments()
863 if ( !on_edge && FT_ABS( point->out_dir ) == major_dir ) in af_latin_hints_compute_segments()
967 if ( seg1->dir != axis->major_dir || seg1->first == seg1->last ) in af_latin_hints_link_segments()
1398 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_latin_hints_compute_blue_edges()
Dafhints.c113 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge()
629 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_UP; in af_glyph_hints_reload()
630 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_LEFT; in af_glyph_hints_reload()
634 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_DOWN; in af_glyph_hints_reload()
635 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_RIGHT; in af_glyph_hints_reload()
Dafhints.h326 AF_Direction major_dir; /* either vertical or horizontal */ member
Dafcjk.c732 AF_Direction major_dir = axis->major_dir; in af_cjk_hints_link_segments() local
751 if ( seg1->dir != major_dir ) in af_cjk_hints_link_segments()
1219 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_cjk_hints_compute_blue_edges()
/external/freetype/src/pshinter/
Dpshalgo.c1521 FT_Int major_dir ) in psh_hint_table_find_strong_points() argument
1536 if ( PSH_DIR_COMPARE( point->dir_in, major_dir ) ) in psh_hint_table_find_strong_points()
1539 else if ( PSH_DIR_COMPARE( point->dir_out, major_dir ) ) in psh_hint_table_find_strong_points()
1544 if ( point_dir == major_dir ) in psh_hint_table_find_strong_points()
1564 else if ( point_dir == -major_dir ) in psh_hint_table_find_strong_points()
1593 if ( major_dir == PSH_DIR_HORIZONTAL ) in psh_hint_table_find_strong_points()
1680 FT_Int major_dir = dimension == 0 ? PSH_DIR_VERTICAL in psh_glyph_find_strong_points() local
1717 threshold, major_dir ); in psh_glyph_find_strong_points()
1733 threshold, major_dir ); in psh_glyph_find_strong_points()
Dpshalgo.h217 FT_Int major_dir; member