MCPcopy Index your code
hub / github.com/endbasic/endbasic / exec

Method exec

std/src/gfx/mod.rs:227–234  ·  view source on GitHub ↗
(&self, scope: Scope<'_>)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 15

parse_coordinatesFunction · 0.85
parse_radiusFunction · 0.85
return_integerMethod · 0.80
nargsMethod · 0.80
get_booleanMethod · 0.80
draw_circleMethod · 0.45
draw_circle_filledMethod · 0.45
bucket_fillMethod · 0.45
size_pixelsMethod · 0.45
draw_lineMethod · 0.45

Tested by

no test coverage detected