Skip to main content

draw_image

Function draw_image 

Source
pub fn draw_image<I: Image>(i: &I, p: Point)
Expand description

Render an image using the given colors.

Examples found in repository?
examples/image/main.rs (line 29)
26extern "C" fn update() {
27    ff::clear_screen(ff::Color::White);
28    let image = unsafe { IMAGE.get().unwrap() };
29    ff::draw_image(image, ff::Point { x: 60, y: 60 });
30}