Lines Matching defs:angle2
282 int angle1, angle2;
285 if (arc->angle2 < 0) {
286 angle2 = angle1;
287 angle1 += arc->angle2;
290 angle2 = angle1 + arc->angle2;
295 while (angle2 < 0)
296 angle2 += FULLCIRCLE;
297 while (angle2 >= FULLCIRCLE)
298 angle2 -= FULLCIRCLE;
307 slice->edge2_top = (angle2 <= HALFCIRCLE);
308 if ((angle2 == 0) || (angle1 == HALFCIRCLE)) {
309 if (angle2 ? slice->edge2_top : slice->edge1_top)
315 else if ((angle1 == 0) || (angle2 == HALFCIRCLE)) {
323 if (angle2 < angle1) {
338 miGetPieEdge(arc, angle2, &slice->edge2,
361 if ((angle2 == 0) || (angle2 == HALFCIRCLE)) {
362 x2 = angle2 ? -w2 : w2;
365 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3)) {
367 y2 = (angle2 == QUADRANT) ? h2 : -h2;
371 x2 = Dcos(angle2) * w2;
372 y2 = Dsin(angle2) * h2;
666 (-FULLCIRCLE < arc->angle2 && arc->angle2 < FULLCIRCLE))
678 if ((arc->angle2 >= FULLCIRCLE) || (arc->angle2 <= -FULLCIRCLE))