MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / draw_text

Method draw_text

src/renderer/default.rs:63–65  ·  view source on GitHub ↗
(&mut self, _text: &str, _style: &Style)

Source from the content-addressed store, hash-verified

61 }
62
63 fn draw_text(&mut self, _text: &str, _style: &Style) {
64 self.frame_count += 1;
65 }
66
67 fn translate(&mut self, x: f32, y: f32) {
68 self.transform.x += x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected