Function simple_blit::blit_with
source · pub fn blit_with<D, S>(
dest: &mut (impl SurfaceMut<D> + ?Sized),
dest_pos: Point,
src: &(impl Surface<S> + ?Sized),
src_pos: Point,
copy_size: Size,
transforms: &[Transform],
func: impl FnMut(&mut D, &S, Point)
)Expand description
Blit part of one surface to another (generalized function).
f is called for each pair of values, the last argument is the value’s source position.
The transforms are done in order.