Function draw_rgba

pub fn draw_rgba<'a, T>(wid: &'a mut T, fb: &'a [u8]) -> Result<(), FltkError> 
where T: WidgetBase,
Available on crate feature dep_fltk only.
Expand description

Draw a framebuffer (rgba) into a widget

§Errors

Errors on invalid or unsupported image formats