Lines Matching refs:y3
95 /* y3 :: The end coordinate. */
105 FT_Pos y3,
109 if ( y1 <= y3 && y2 == y1 ) /* flat arc */
112 if ( y1 < y3 )
114 if ( y2 >= y1 && y2 <= y3 ) /* ascending arc */
119 if ( y2 >= y3 && y2 <= y1 ) /* descending arc */
122 y1 = y3;
123 y3 = y2;
128 y1 = y3 = y1 - FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 );
132 if ( y3 > *max ) *max = y3;
239 FT_Pos y3 = arc[2];
245 if ( y1 == y2 && y1 == y3 ) /* flat */
250 if ( y2 >= y1 && y2 <= y4 && y3 >= y1 && y3 <= y4 ) /* ascending */
255 if ( y2 >= y4 && y2 <= y1 && y3 >= y4 && y3 <= y1 ) /* descending */
267 arc[5] = y4 = ( y4 + y3 ) / 2;
268 y2 = ( y2 + y3 ) / 2;
291 FT_Pos y3,
297 /* FT_Pos a = y4 - 3*y3 + 3*y2 - y1; */
298 FT_Pos b = y3 - 2*y2 + y1;
335 FT_Pos y3,
351 if ( y1 <= y2 && y2 <= y4 && y1 <= y3 && y3 <= y4 )
357 if ( y1 >= y2 && y2 >= y4 && y1 >= y3 && y3 >= y4 )
363 FT_Pos a = y4 - 3*y3 + 3*y2 - y1;
364 FT_Pos b = y3 - 2*y2 + y1;
470 test_cubic_extrema( y1, y2, y3, y4, t, min, max );
484 test_cubic_extrema( y1, y2, y3, y4, t, min, max );
491 test_cubic_extrema( y1, y2, y3, y4, t, min, max );
494 test_cubic_extrema( y1, y2, y3, y4, t, min, max );