Skip to main content

panic_draw_str

Function panic_draw_str 

Source
fn panic_draw_str(
    fb: *mut u8,
    pitch: usize,
    x: usize,
    y: usize,
    s: &str,
    fg: u32,
    bg: u32,
    fmt: u64,
    max_x: usize,
) -> usize
Expand description

Draw a NUL-terminated ASCII string at (x, y) using the panic framebuffer. Returns the X position after the last character.