Skip to main content

draw

Function draw 

Source
pub fn draw(
    backend: &mut dyn DrawBackend,
    rich: bool,
    text: &str,
    pos: (f64, f64),
    style: &TextStyle,
) -> Result<(), RenderError>
Expand description

Draw text — as rich runs when rich is on and it carries markup, else exactly as DrawBackend::draw_text (byte-identical).