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

Method write_text

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

Source from the content-addressed store, hash-verified

450 }
451
452 fn write_text(&mut self, xy: PixelsXY, text: &str) -> io::Result<()> {
453 self.without_sync(|self2| drawing::draw_text(self2, self2.font, xy, text))
454 }
455
456 fn draw_circle(&mut self, center: PixelsXY, radius: u16) -> io::Result<()> {
457 self.without_sync(|self2| drawing::draw_circle(self2, center, radius))

Callers 4

test_write_text_syncFunction · 0.45
test_write_text_no_syncFunction · 0.45
test_write_text_clipFunction · 0.45

Calls 2

draw_textFunction · 0.85
without_syncMethod · 0.80

Tested by 4

test_write_text_syncFunction · 0.36
test_write_text_no_syncFunction · 0.36
test_write_text_clipFunction · 0.36