Lines Matching defs:angle2
310 int angle1, angle2;
313 if (arc->angle2 < 0)
315 angle2 = angle1;
316 angle1 += arc->angle2;
319 angle2 = angle1 + arc->angle2;
324 while (angle2 < 0)
325 angle2 += FULLCIRCLE;
326 while (angle2 >= FULLCIRCLE)
327 angle2 -= FULLCIRCLE;
337 slice->edge2_top = (angle2 <= HALFCIRCLE);
338 if ((angle2 == 0) || (angle1 == HALFCIRCLE))
340 if (angle2 ? slice->edge2_top : slice->edge1_top)
346 else if ((angle1 == 0) || (angle2 == HALFCIRCLE))
356 if (angle2 < angle1)
374 miGetPieEdge(arc, angle2, &slice->edge2,
401 if ((angle2 == 0) || (angle2 == HALFCIRCLE))
403 x2 = angle2 ? -w2 : w2;
406 else if ((angle2 == QUADRANT) || (angle2 == QUADRANT3))
409 y2 = (angle2 == QUADRANT) ? h2 : -h2;
414 x2 = Dcos(angle2) * w2;
415 y2 = Dsin(angle2) * h2;
783 if ((arc->angle2 >= FULLCIRCLE) || (arc->angle2 <= -FULLCIRCLE))