Function simple_blit::blit

source ·
pub fn blit<T: Clone>(
    dest: &mut (impl SurfaceMut<T> + ?Sized),
    dest_pos: Point,
    src: &(impl Surface<T> + ?Sized),
    src_pos: Point,
    copy_size: Size,
    transforms: &[Transform]
)
Expand description

Blit part of one surface to another, cloning the values.