()
| 35 | } |
| 36 | |
| 37 | func (g *Circle) LocalBBox() math32.Box2 { |
| 38 | bb := math32.Box2{} |
| 39 | hlw := 0.5 * g.LocalLineWidth() |
| 40 | bb.Min = g.Pos.SubScalar(g.Radius + hlw) |
| 41 | bb.Max = g.Pos.AddScalar(g.Radius + hlw) |
| 42 | return bb |
| 43 | } |
| 44 | |
| 45 | func (g *Circle) Render(sv *SVG) { |
| 46 | vis, pc := g.PushTransform(sv) |
nothing calls this directly
no test coverage detected