Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Daflatin2.c738 AF_Direction major_dir, segment_dir; in af_latin2_hints_compute_segments() local
745 major_dir = (AF_Direction)FT_ABS( axis->major_dir ); in af_latin2_hints_compute_segments()
746 segment_dir = major_dir; in af_latin2_hints_compute_segments()
788 if ( FT_ABS( point->in_dir ) == major_dir ) in af_latin2_hints_compute_segments()
797 while ( FT_ABS( point->out_dir ) != major_dir ) in af_latin2_hints_compute_segments()
814 FT_ASSERT( FT_ABS( point->out_dir ) == major_dir && in af_latin2_hints_compute_segments()
885 while ( FT_ABS( point->out_dir ) != major_dir ) in af_latin2_hints_compute_segments()
1005 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1013 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1449 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_latin2_hints_compute_blue_edges()
Daflatin.c1489 AF_Direction major_dir, segment_dir; in af_latin_hints_compute_segments() local
1498 major_dir = (AF_Direction)FT_ABS( axis->major_dir ); in af_latin_hints_compute_segments()
1499 segment_dir = major_dir; in af_latin_hints_compute_segments()
1562 if ( FT_ABS( last->out_dir ) == major_dir && in af_latin_hints_compute_segments()
1563 FT_ABS( point->out_dir ) == major_dir ) in af_latin_hints_compute_segments()
1571 if ( FT_ABS( point->out_dir ) != major_dir ) in af_latin_hints_compute_segments()
1783 ( FT_ABS( point->out_dir ) == major_dir || in af_latin_hints_compute_segments()
1934 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
2469 FT_BOOL( edge->dir == axis->major_dir ); in af_latin_hints_compute_blue_edges()
Dafhints.c163 if ( edge[-1].fpos == fpos && dir == axis->major_dir ) in af_axis_hints_new_edge()
801 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_UP; in af_glyph_hints_reload()
802 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_LEFT; in af_glyph_hints_reload()
806 hints->axis[AF_DIMENSION_HORZ].major_dir = AF_DIR_DOWN; in af_glyph_hints_reload()
807 hints->axis[AF_DIMENSION_VERT].major_dir = AF_DIR_RIGHT; in af_glyph_hints_reload()
Dafhints.h318 AF_Direction major_dir; /* either vertical or horizontal */ member
Dafcjk.c830 AF_Direction major_dir = axis->major_dir; in af_cjk_hints_link_segments() local
845 if ( seg1->dir != major_dir ) in af_cjk_hints_link_segments()
1317 FT_BOOL( edge->dir == axis->major_dir ); in af_cjk_hints_compute_blue_edges()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c1416 FT_Int major_dir ) in psh_hint_table_find_strong_points() argument
1431 if ( PSH_DIR_COMPARE( point->dir_in, major_dir ) ) in psh_hint_table_find_strong_points()
1434 else if ( PSH_DIR_COMPARE( point->dir_out, major_dir ) ) in psh_hint_table_find_strong_points()
1439 if ( point_dir == major_dir ) in psh_hint_table_find_strong_points()
1459 else if ( point_dir == -major_dir ) in psh_hint_table_find_strong_points()
1488 if ( major_dir == PSH_DIR_HORIZONTAL ) in psh_hint_table_find_strong_points()
1575 FT_Int major_dir = dimension == 0 ? PSH_DIR_VERTICAL in psh_glyph_find_strong_points() local
1608 threshold, major_dir ); in psh_glyph_find_strong_points()
1624 threshold, major_dir ); in psh_glyph_find_strong_points()
Dpshalgo.h203 FT_Int major_dir; member
/external/freetype/src/pshinter/
Dpshalgo.c1416 FT_Int major_dir ) in psh_hint_table_find_strong_points() argument
1431 if ( PSH_DIR_COMPARE( point->dir_in, major_dir ) ) in psh_hint_table_find_strong_points()
1434 else if ( PSH_DIR_COMPARE( point->dir_out, major_dir ) ) in psh_hint_table_find_strong_points()
1439 if ( point_dir == major_dir ) in psh_hint_table_find_strong_points()
1459 else if ( point_dir == -major_dir ) in psh_hint_table_find_strong_points()
1488 if ( major_dir == PSH_DIR_HORIZONTAL ) in psh_hint_table_find_strong_points()
1575 FT_Int major_dir = ( dimension == 0 ) ? PSH_DIR_VERTICAL in psh_glyph_find_strong_points() local
1608 threshold, major_dir ); in psh_glyph_find_strong_points()
1624 threshold, major_dir ); in psh_glyph_find_strong_points()
Dpshalgo.h203 FT_Int major_dir; member