Function draw_image
Source pub fn draw_image(i: &Image<'_>, p: Point)
Expand description
Render an image using the given colors.
25extern "C" fn update() {
26 ff::clear_screen(ff::Color::White);
27 let image = unsafe { IMAGE.get().unwrap() };
28 let image: ff::Image = (image).into();
29 ff::draw_image(&image, ff::Point { x: 60, y: 60 });
30}