(&self, scope: Scope<'_>)
| 225 | } |
| 226 | |
| 227 | fn exec(&self, scope: Scope<'_>) -> CallResult<()> { |
| 228 | debug_assert_eq!(3, scope.nargs()); |
| 229 | let xy = parse_coordinates(&scope, 0, 1)?; |
| 230 | let r = parse_radius(&scope, 2)?; |
| 231 | |
| 232 | self.console.borrow_mut().draw_circle(xy, r)?; |
| 233 | Ok(()) |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | /// The `GFX_CIRCLEF` command. |
nothing calls this directly
no test coverage detected