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

Method draw_line

std/src/testutils.rs:368–371  ·  view source on GitHub ↗
(&mut self, x1y1: PixelsXY, x2y2: PixelsXY)

Source from the content-addressed store, hash-verified

366 }
367
368 fn draw_line(&mut self, x1y1: PixelsXY, x2y2: PixelsXY) -> io::Result<()> {
369 self.captured_out.push(CapturedOut::DrawLine(x1y1, x2y2));
370 Ok(())
371 }
372
373 fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> {
374 self.captured_out.push(CapturedOut::DrawPixel(xy));

Callers 2

draw_polyMethod · 0.45
draw_poly_filledMethod · 0.45

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected