Lines Matching refs:y
43 int y;
73 axis_pt[0].y = 0;
75 axis_pt[1].y = b;
77 axis_pt[2].y = 0;
79 axis_pt[3].y = -b;
113 pt[0].y += cy;
115 pt[1].y = cy + axis_pt[(i + 1) & 3].y;
121 pt[2].y += cy;
130 pt[3].y = cy;
139 pt[2].y = cy + axis_pt[(i + 2) & 3].y;
145 pt[3].y += cy;
154 pt[4].y = cy;
163 pt[3].y = cy + axis_pt[(i + 3) & 3].y;
169 pt[4].y += cy;
178 pt[5].y = cy;
187 pt[4].y = cy + axis_pt[(i + 4) & 3].y;
192 pt[5].y += cy;
201 pt[6].y = cy;
281 pt[0].y = 0;
284 pt[2].y = h / 2;
314 pt[0].y = (int) (y2 / 2);
321 pt[2].y = (int) (y2 / 2);
326 pt[1].y = (int) (y2 / 2);
348 pt[0].y = (int) (y2 / 2);
355 pt[2].y = (int) (y2 / 2);
370 pt[0].y = cy + (flip_y ? (-pt[0].y) : pt[0].y);
372 pt[1].y = cy;
374 pt[2].y = cy + (flip_y ? (-pt[2].y) : pt[2].y);
392 pt[0].y = cy + (flip_y ? (-pt[0].y) : pt[0].y);
394 pt[1].y = cy + (flip_y ? (-pt[1].y) : pt[1].y);
396 pt[2].y = cy + (flip_y ? (-pt[2].y) : pt[2].y);
435 lg = lx2 * (pt[0].y - pt[2].y) - ly2 * (pt[0].x - pt[2].x);
436 lg = (lx2 - 1) * (pt[0].y - pt[2].y) - (ly2 + 2) * (pt[0].x - pt[2].x) - lg;
438 while (y2 < (2 * pt[2].y))
455 lg -= 2 * (pt[0].y - pt[2].y);
458 y = (int) (y2 / 2);
462 ((flip_y) ? (cy - y) : (cy + y)), color);
500 lg = lx2 * (pt[0].y - pt[2].y) - ly2 * (pt[0].x - pt[2].x);
501 lg = (lx2 + 2) * (pt[0].y - pt[2].y) - (ly2 - 1) * (pt[0].x - pt[2].x) - lg;
515 lg += 2 * (pt[0].y - pt[2].y);
524 for (y = (int) (ly2 / 2); y <= (int) (y2 / 2); y++)
527 ((flip_y) ? (cy - y) : (cy + y)), color);
568 pt.y = 0;
574 pt.y = h / 2;
580 pt.y = 0;
586 pt.y = -h / 2;
591 pt.y = 0;
653 pt.y = (int) (y2 / 2);
680 pt.y = (int) (y2 / 2);
689 pt.y = -pt.y;