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

Method draw_line

std/src/gfx/lcd/buffered/mod.rs:464–466  ·  view source on GitHub ↗
(&mut self, x1y1: PixelsXY, x2y2: PixelsXY)

Source from the content-addressed store, hash-verified

462 }
463
464 fn draw_line(&mut self, x1y1: PixelsXY, x2y2: PixelsXY) -> io::Result<()> {
465 self.without_sync(|self2| drawing::draw_line(self2, x1y1, x2y2))
466 }
467
468 fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> {
469 let xy = self.clip_xy(xy);

Callers 4

execMethod · 0.45
test_draw_line_syncFunction · 0.45
test_draw_line_no_syncFunction · 0.45
test_draw_line_clipFunction · 0.45

Calls 2

draw_lineFunction · 0.85
without_syncMethod · 0.80

Tested by 3

test_draw_line_syncFunction · 0.36
test_draw_line_no_syncFunction · 0.36
test_draw_line_clipFunction · 0.36