draw_centered_text

Function draw_centered_text 

Source
pub fn draw_centered_text(
    ctx: &mut dyn DrawingContext,
    text: &str,
    bounds: &Bounds,
    font: &MonoFont<'static>,
    color: &Rgb565,
)