Function firefly_rust::graphics::draw_image

source ยท
pub fn draw_image(i: &Image<'_>, p: Point)
Expand description

Render an image using the given colors.

Examples found in repository?
examples/image/main.rs (line 28)
24
25
26
27
28
29
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 });
}