draw_string

Function draw_string 

Source
pub fn draw_string(
    buffer: &mut [u8],
    width: usize,
    x: usize,
    y: usize,
    scale: usize,
    brightness: u8,
    text: &str,
)
Expand description

Draw ASCII text to a u8 image buffer. width is the image width, (x,y) the start position.