Function firefly_rust::graphics::draw_sub_image

source ·
pub fn draw_sub_image(i: SubImage<'_>, p: Point, c: ImageColors)
Expand description

Draw a subregion of an image.

Most often used to draw a sprite from a sprite atlas.