Function simple_blit::blit
source · pub fn blit<T: Clone>(
dest: &mut (impl BufferMut<T> + ?Sized),
dest_pos: (i32, i32),
src: &(impl Buffer<T> + ?Sized),
src_pos: (i32, i32),
size: (u32, u32),
opts: BlitOptions
)Expand description
Blit from one buffer to another.
Crops the rectangle if it doesn’t fit.