Searched refs:angleDeg (Results 1 – 1 of 1) sorted by relevance
475 static void endPointsFromAngle(float angleDeg, const IntSize& size, FloatPoint& firstPoint, FloatPo… in endPointsFromAngle() argument477 angleDeg = fmodf(angleDeg, 360); in endPointsFromAngle()478 if (angleDeg < 0) in endPointsFromAngle()479 angleDeg += 360; in endPointsFromAngle()481 if (!angleDeg) { in endPointsFromAngle()487 if (angleDeg == 90) { in endPointsFromAngle()493 if (angleDeg == 180) { in endPointsFromAngle()499 float slope = tan(deg2rad(angleDeg)); in endPointsFromAngle()509 if (angleDeg < 90) in endPointsFromAngle()511 else if (angleDeg < 180) in endPointsFromAngle()[all …]