draw_sprite

Function draw_sprite 

Source
pub fn draw_sprite(
    display: &mut impl Display,
    data: &[u16],
    x: i16,
    y: i16,
    width: usize,
    height: usize,
    is_opaque: bool,
)
Expand description

Draw sprite into frame buffer Dispatches to optimized rendering path based on sprite type