[][src]Function pixops::raster_over

pub fn raster_over<A, B, C>(
    dst: &mut Raster<A>,
    src: &Raster<B>,
    clr: C,
    x: i32,
    y: i32
) where
    A: Blend,
    B: Blend,
    C: Blend,
    A: From<B>,
    A: From<C>, 

Blend targets with over operation.

  • dst Destination target.
  • src Source target.
  • clr Default blend color.
  • x Left position of source on destination.
  • y Top position of source on destination.