[−][src]Function sunrise_vi::draw
fn draw(
buf: &Buffer,
framebuffer: &mut Framebuffer,
top: u32,
left: u32,
width: u32,
height: u32
)
Draw a portion of a buffer onto the framebuffer.
Panics
Panics if buf.width * buf.height * bpp (4) >= 2^sizeof(usize).