Searched refs:SW_ANGLE_PI (Results 1 – 3 of 3) sorted by relevance
41 return (SW_ANGLE_PI2 - static_cast<SwFixed>(s) * SW_ANGLE_PI); in SIDE_TO_ROTATE()141 constexpr SwFixed ARC_CUBIC_ANGLE = SW_ANGLE_PI / 2; in _borderArcTo()228 if (total == SW_ANGLE_PI) total = -rotate * 2; in _arcTo()250 if (theta == SW_ANGLE_PI) { in _outside()473 } else if (abs(mathDiff(stroke.angleIn, angleIn)) > (SW_ANGLE_PI / 8) / 4) { in _cubicTo()529 if (abs(mathDiff(alpha0, alpha1)) > SW_ANGLE_PI / 2) { in _cubicTo()600 stroke.angleOut = angle + SW_ANGLE_PI; in _addCap()728 _addCap(stroke, stroke.subPathAngle + SW_ANGLE_PI, 0); in _endSubPath()
96 if ((theta1 < (SW_ANGLE_PI / 8)) && (theta2 < (SW_ANGLE_PI / 8))) return 0; //small size in mathCubicAngle()263 if (delta > SW_ANGLE_PI) delta -= SW_ANGLE_2PI; in mathDiff()
35 #define SW_ANGLE_PI (180L << 16) macro36 #define SW_ANGLE_2PI (SW_ANGLE_PI << 1)37 #define SW_ANGLE_PI2 (SW_ANGLE_PI >> 1)