firefly_rust::graphicsFunction draw_image
source pub fn draw_image(i: &Image<'_>, p: Point)
Expand description
Render an image using the given colors.
extern fn update() {
ff::clear_screen(ff::Color::White);
let image = unsafe { IMAGE.get().unwrap() };
let image: ff::Image = (image).into();
ff::draw_image(&image, ff::Point { x: 60, y: 60 });
}