| 543 | } |
| 544 | |
| 545 | Path2d Path2d::circle( const vec2 ¢er, float radius ) |
| 546 | { |
| 547 | Path2d shape; |
| 548 | shape.moveTo( center.x + radius, center.y ); |
| 549 | shape.relativeArcTo( radius, radius, 0, false, true, vec2( -( radius + radius ), 0 ) ); |
| 550 | shape.relativeArcTo( radius, radius, 0, false, true, vec2( +( radius + radius ), 0 ) ); |
| 551 | return shape; |
| 552 | } |
| 553 | |
| 554 | Path2d Path2d::ellipse( const vec2 ¢er, float radiusX, float radiusY ) |
| 555 | { |
no test coverage detected