Function firefly_rust::graphics::draw_sub_image
source ยท pub fn draw_sub_image(i: &SubImage<'_>, p: Point)
Expand description
Draw a subregion of an image.
Most often used to draw a sprite from a sprite atlas.
pub fn draw_sub_image(i: &SubImage<'_>, p: Point)
Draw a subregion of an image.
Most often used to draw a sprite from a sprite atlas.