| 1 | #include "graphics/shape/Circle.h" |
| 2 | |
| 3 | void xg::shape::Circle::CreatePath(canvas::CanvasContext &context) const { |
| 4 | context.SetLineDash(dash_); |
| 5 | context.BeginPath(); |
| 6 | context.Arc(point_.x, point_.y, radius_, 0.0, 2 * M_PI); |
| 7 | context.ClosePath(); |
| 8 | } |
| 9 | |
| 10 | BBox xg::shape::Circle::CalculateBox(canvas::CanvasContext &context) const { |
| 11 | BBox bbox; |
nothing calls this directly
no test coverage detected