[−][src]Function libvips::ops::draw_rect_with_opts
pub fn draw_rect_with_opts(
image: &VipsImage,
ink: &mut [f64],
left: i32,
top: i32,
width: i32,
height: i32,
draw_rect_options: &DrawRectOptions
) -> Result<()>
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
draw_rect_options: &DrawRectOptions
-> optional arguments