MCPcopy Create free account
hub / github.com/endbasic/endbasic / point

Function point

std/src/console/drawing.rs:171–173  ·  view source on GitHub ↗
(rasops: &mut R, x: i16, y: i16)

Source from the content-addressed store, hash-verified

169 R: RasterOps,
170{
171 fn point<R: RasterOps>(rasops: &mut R, x: i16, y: i16) -> io::Result<()> {
172 rasops.draw_pixel(PixelsXY { x, y })
173 }
174
175 if radius == 0 {
176 return Ok(());

Callers 1

draw_circleFunction · 0.85

Calls 1

draw_pixelMethod · 0.45

Tested by

no test coverage detected