render_text

Function render_text 

Source
pub fn render_text<R: FontdueRenderTarget>(
    target: &mut R,
    font_data: &[u8],
    position: (i32, i32),
    text: &str,
    color: Color,
    px: f32,
) -> FontResult<()>
Expand description

Render UTF‑8 text onto the provided FontdueRenderTarget.