Function libvips::ops::draw_flood

source ·
pub fn draw_flood(image: &VipsImage, ink: &mut [f64], x: i32, y: i32) -> Result<()>
Expand description

VipsDrawFlood (draw_flood), flood-fill an area image: &VipsImage -> Image to draw on ink: &mut [f64] -> Color for pixels x: i32 -> DrawFlood start point min: 0, max: 1000000000, default: 0 y: i32 -> DrawFlood start point min: 0, max: 1000000000, default: 0