[−][src]Function nanachi::draw_image::draw_image_pixel_perfect
pub fn draw_image_pixel_perfect<P, BD, BS, C>(
dst: &mut BD,
src: &BS,
dst_pos: (u32, u32),
src_pos: (u32, u32),
size: (u32, u32),
compositor: &C
) where
P: Pixel,
BD: Buffer<P>,
BS: Buffer<P>,
C: Compositor<P>,
Draw src
image to dst
image.