pub fn draw_line(
image: &VipsImage,
ink: &mut [f64],
x_1: i32,
y_1: i32,
x_2: i32,
y_2: i32
) -> Result<()>
Expand description
VipsDrawLine (draw_line), draw a line on an image
image: &VipsImage
-> Image to draw on
ink: &mut [f64]
-> Color for pixels
x_1: i32
-> Start of draw_line
min: -1000000000, max: 1000000000, default: 0
y_1: i32
-> Start of draw_line
min: -1000000000, max: 1000000000, default: 0
x_2: i32
-> End of draw_line
min: -1000000000, max: 1000000000, default: 0
y_2: i32
-> End of draw_line
min: -1000000000, max: 1000000000, default: 0