pub fn draw_rect(
image: &VipsImage,
ink: &mut [f64],
left: i32,
top: i32,
width: i32,
height: i32,
) -> Result<()>Expand description
VipsDrawRect (draw_rect), paint a rectangle on an image
image: &VipsImage -> Image to draw on
ink: &mut [f64] -> Color for pixels
left: i32 -> Rect to fill
min: -1000000000, max: 1000000000, default: 0
top: i32 -> Rect to fill
min: -1000000000, max: 1000000000, default: 0
width: i32 -> Rect to fill
min: -1000000000, max: 1000000000, default: 0
height: i32 -> Rect to fill
min: -1000000000, max: 1000000000, default: 0