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

Method draw_line

sdl/src/console.rs:206–208  ·  view source on GitHub ↗
(&mut self, x1y1: PixelsXY, x2y2: PixelsXY)

Source from the content-addressed store, hash-verified

204 }
205
206 fn draw_line(&mut self, x1y1: PixelsXY, x2y2: PixelsXY) -> io::Result<()> {
207 self.call(Request::DrawLine(x1y1, x2y2))
208 }
209
210 fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> {
211 self.call(Request::DrawPixel(xy))

Callers 2

test_sdl_console_drawFunction · 0.45

Calls 1

callMethod · 0.80

Tested by 2

test_sdl_console_drawFunction · 0.36