| 100 | } |
| 101 | |
| 102 | static Vector2 rotateVector(Vector2 v, Vector2 direction) { |
| 103 | return Vector2(direction.x*v.x-direction.y*v.y, direction.y*v.x+direction.x*v.y); |
| 104 | } |
| 105 | |
| 106 | static void addArcApproximate(Contour &contour, Point2 startPoint, Point2 endPoint, Vector2 radius, double rotation, bool largeArc, bool sweep) { |
| 107 | if (endPoint == startPoint) |
no test coverage detected