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

Method draw_text

src/renderer/mock.rs:32–35  ·  view source on GitHub ↗
(&mut self, text: &str, style: &Style)

Source from the content-addressed store, hash-verified

30 fn end_group(&mut self) {}
31
32 fn draw_text(&mut self, text: &str, style: &Style) {
33 self.last_text = Some(text.to_string());
34 self.last_color = Some(style.color);
35 }
36
37 fn translate(&mut self, _x: f32, _y: f32) {}
38}

Callers 2

renderMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected