Lines Matching defs:angle
923 double center[2], width, angle, tmp;
973 angle = -arcPtr->start*(PI/180.0);
974 pointPtr[0] = rx*cos(angle);
975 pointPtr[1] = ry*sin(angle);
976 angle += -arcPtr->extent*(PI/180.0);
977 pointPtr[2] = rx*cos(angle);
978 pointPtr[3] = ry*sin(angle);
1231 double sin1, cos1, sin2, cos2, angle, halfWidth;
1272 angle = -arcPtr->start*PI/180.0;
1273 sin1 = sin(angle);
1274 cos1 = cos(angle);
1275 angle -= arcPtr->extent*PI/180.0;
1276 sin2 = sin(angle);
1277 cos2 = cos(angle);
1306 angle = 0.0;
1308 angle = atan2(boxWidth*sin1, boxHeight*cos1);
1310 corner1[0] = arcPtr->center1[0] + cos(angle)*halfWidth;
1311 corner1[1] = arcPtr->center1[1] + sin(angle)*halfWidth;
1313 angle = 0.0;
1315 angle = atan2(boxWidth*sin2, boxHeight*cos2);
1317 corner2[0] = arcPtr->center2[0] + cos(angle)*halfWidth;
1318 corner2[1] = arcPtr->center2[1] + sin(angle)*halfWidth;
1544 * Determine whether the angle from the origin to a given
1548 * The return value is 1 if the angle from (0,0) to (x,y)
1562 double x, y; /* Coordinate of point; angle measured
1564 double start; /* First angle, degrees, >=0, <=360. */