Lines Matching refs:angle
13 static gdPoint gdArcClosest (int width, int height, int angle);
27 int angle;
218 angle = s;
220 e = 180 - angle;
232 angle = s;
234 e = 360 - angle;
534 gdArcClosest (int width, int height, int angle)
560 while (angle < 0)
561 angle += 360;
562 while (angle >= 360)
563 angle -= 360;
565 if (angle == 0)
571 if (angle == 90)
577 if (angle == 180)
583 if (angle == 270)
593 if ((angle > 90) && (angle < 180))
595 angle = 180 - angle;
598 if ((angle > 180) && (angle < 270))
600 angle = angle - 180;
604 if ((angle > 270) && (angle < 360))
606 angle = 360 - angle;
610 a_sin = (long) ((double) 32768 * sin ((double) angle * M_PI / (double) 180));
611 a_cos = (long) ((double) 32768 * cos ((double) angle * M_PI / (double) 180));