[−][src]Function olc_pixel_game_engine::draw_partial_sprite
pub fn draw_partial_sprite(
x: i32,
y: i32,
sprite: &Sprite,
ox: i32,
oy: i32,
w: i32,
h: i32
)
Draws an area of a sprite at location (x, y), where the selected area is (ox, oy) to (ox+w, oy+h).