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

Method draw_rect

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

Source from the content-addressed store, hash-verified

482 }
483
484 fn draw_rect(&mut self, xy: PixelsXY, size: SizeInPixels) -> io::Result<()> {
485 self.without_sync(|self2| drawing::draw_rect(self2, xy, size))
486 }
487
488 fn draw_rect_filled(&mut self, xy: PixelsXY, size: SizeInPixels) -> io::Result<()> {
489 let x1y1 = self.clamp_xy(xy);

Callers 5

execMethod · 0.45
test_draw_rect_syncFunction · 0.45
test_draw_rect_no_syncFunction · 0.45
test_draw_rect_limitsFunction · 0.45
test_draw_rect_clipFunction · 0.45

Calls 2

draw_rectFunction · 0.85
without_syncMethod · 0.80

Tested by 4

test_draw_rect_syncFunction · 0.36
test_draw_rect_no_syncFunction · 0.36
test_draw_rect_limitsFunction · 0.36
test_draw_rect_clipFunction · 0.36