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

Method write_text

web/src/canvas.rs:293–295  ·  view source on GitHub ↗
(&mut self, xy: PixelsXY, text: &str)

Source from the content-addressed store, hash-verified

291 }
292
293 fn write_text(&mut self, xy: PixelsXY, text: &str) -> io::Result<()> {
294 draw_text(self, self.font, xy, text)
295 }
296
297 fn draw_circle(&mut self, center: PixelsXY, radius: u16) -> io::Result<()> {
298 self.context.begin_path();

Callers

nothing calls this directly

Calls 1

draw_textFunction · 0.85

Tested by

no test coverage detected