pub fn canvas_text_ex(
x: f32,
y: f32,
size: f32,
r: u8,
g: u8,
b: u8,
a: u8,
family: &str,
weight: u32,
style: u32,
align: u32,
text: &str,
)Expand description
Draw text with explicit family, weight (CSS 100..=900; 0 = default 400),
style (FONT_STYLE_NORMAL / FONT_STYLE_ITALIC / FONT_STYLE_OBLIQUE),
and horizontal alignment (TEXT_ALIGN_LEFT / TEXT_ALIGN_CENTER /
TEXT_ALIGN_RIGHT).
Pass an empty family to use the system UI font. For TEXT_ALIGN_CENTER
and TEXT_ALIGN_RIGHT, x is the centre and the right edge of the line
respectively.