pub fn draw_mask(
image: &VipsImage,
ink: &mut [f64],
mask: &VipsImage,
x: i32,
y: i32,
) -> Result<()>Expand description
VipsDrawMask (draw_mask), draw a mask on an image
image: &VipsImage -> Image to draw on
ink: &mut [f64] -> Color for pixels
mask: &VipsImage -> Mask of pixels to draw
x: i32 -> Draw mask here
min: -1000000000, max: 1000000000, default: 0
y: i32 -> Draw mask here
min: -1000000000, max: 1000000000, default: 0