blit_convert

Function blit_convert 

Source
pub fn blit_convert<D: From<S>, S: Clone>(
    dest: impl SurfaceMut<D>,
    src: impl Surface<S>,
    transforms: &[Transform],
)
Expand description

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

You can use sub_surface or offset_surface functions to limit the copied area. The transforms are done in order.