Function draw_text

Source
pub fn draw_text(t: &str, f: &Font<'_>, p: Point, c: Color)
Expand description

Render text using the given font.

Unlike in the other drawing functions, here Point points not to the top-left corner but to the baseline start position.