[][src]Function pixops::raster_over

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

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.