Lines Matching refs:segments
62 /* scan the array of segments in each direction */
118 seg = axhints->segments;
125 /* we only consider stem segments there! */
848 /* now slightly increase the height of segments when this makes */
851 AF_Segment segments = axis->segments;
852 AF_Segment segments_end = segments + axis->num_segments;
855 for ( segment = segments; segment < segments_end; segment++ )
895 /* place all segments with a negative direction to the start
899 AF_Segment segments = axis->segments;
905 if ( segments[ii].dir > 0 )
909 if ( segments[jj].dir < 0 )
913 tmp = segments[ii];
914 segments[ii] = segments[jj];
915 segments[jj] = tmp;
939 AF_Segment segments = axis->segments;
940 AF_Segment segment_limit = segments + axis->num_segments;
942 AF_Segment segment_mid = segments + axis->mid_segments;
955 for ( seg1 = segments; seg1 < segment_mid; seg1++ )
963 for ( seg1 = segments; seg1 < segment_limit; seg1++ )
965 /* the fake segments are introduced to hint the metrics -- */
970 for ( seg2 = segments; seg2 < segment_limit; seg2++ )
1017 /* now, compute the `serif' segments */
1018 for ( seg1 = segments; seg1 < segment_limit; seg1++ )
1043 AF_Segment segments = axis->segments;
1044 AF_Segment segment_limit = segments + axis->num_segments;
1062 * We want to ignore very small (mostly serif) segments, we do that
1067 * also, unlink serif segments that are linked to segments farther
1104 for ( seg = segments; seg < segment_limit; seg++ )
1185 /* segments found on its position. Basically, these are: */
1223 FT_Int is_round = 0; /* does it contain round segments? */
1224 FT_Int is_straight = 0; /* does it contain straight segments? */
1226 FT_Pos ups = 0; /* number of upwards segments */
1227 FT_Pos downs = 0; /* number of downwards segments */