arithmetic

Function arithmetic 

Source
pub fn arithmetic(
    k1: f32,
    k2: f32,
    k3: f32,
    k4: f32,
    src1: ImageRef<'_>,
    src2: ImageRef<'_>,
    dest: ImageRefMut<'_>,
)
Expand description

Performs an arithmetic composition.

  • src1 and src2 image pixels should have a premultiplied alpha.
  • dest image pixels will have a premultiplied alpha.

ยงPanics

When src1, src2 and dest have different sizes.