Skip to main content

panic_draw_char

Function panic_draw_char 

Source
fn panic_draw_char(
    fb: *mut u8,
    pitch: usize,
    x: usize,
    y: usize,
    ch: u8,
    fg: u32,
    bg: u32,
    fmt: u64,
)
Expand description

Draw a single character at (x, y) using the panic font. fg and bg are packed pixel-colour values for the current pixel format.