Function simple_blit::blit_convert

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

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