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

Method draw_pixel

std/src/gfx/lcd/buffered/mod.rs:468–474  ·  view source on GitHub ↗
(&mut self, xy: PixelsXY)

Source from the content-addressed store, hash-verified

466 }
467
468 fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> {
469 let xy = self.clip_xy(xy);
470 match xy {
471 Some(xy) => self.fill(xy, xy),
472 None => Ok(()),
473 }
474 }
475
476 fn draw_poly(&mut self, points: &[PixelsXY]) -> io::Result<()> {
477 self.without_sync(|self2| drawing::draw_poly(self2, points))

Callers 6

execMethod · 0.45
test_present_canvasFunction · 0.45
test_draw_pixel_syncFunction · 0.45
test_draw_pixel_no_syncFunction · 0.45
test_draw_pixel_limitsFunction · 0.45

Calls 2

clip_xyMethod · 0.80
fillMethod · 0.80

Tested by 5

test_present_canvasFunction · 0.36
test_draw_pixel_syncFunction · 0.36
test_draw_pixel_no_syncFunction · 0.36
test_draw_pixel_limitsFunction · 0.36