MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / draw_text

Method draw_text

native/shared/src/text_renderer.rs:235–245  ·  view source on GitHub ↗
(
        &mut self,
        renderer: &mut Renderer,
        text: &str,
        x: f64,
        y: f64,
        size: u32,
        r: f64, g: f64, b: f64, a: f64,
    )

Source from the content-addressed store, hash-verified

233 }
234
235 pub fn draw_text(
236 &mut self,
237 renderer: &mut Renderer,
238 text: &str,
239 x: f64,
240 y: f64,
241 size: u32,
242 r: f64, g: f64, b: f64, a: f64,
243 ) {
244 self.draw_text_ex(renderer, 0, text, x, y, size, 0.0, r, g, b, a);
245 }
246
247 pub fn draw_text_ex(
248 &mut self,

Callers 7

bloom_draw_textFunction · 0.80
bloom_draw_textFunction · 0.80
bloom_draw_textFunction · 0.80
bloom_draw_textFunction · 0.80
bloom_draw_textFunction · 0.80
bloom_draw_text_strFunction · 0.80
bloom_draw_textFunction · 0.80

Calls 1

draw_text_exMethod · 0.80

Tested by

no test coverage detected