Function rten_imageproc::draw_polygon
source · pub fn draw_polygon<T: Copy>(
image: NdTensorViewMut<'_, T, 2>,
poly: &[Point],
value: T,
width: u32
)
Expand description
Draw the outline of a non anti-aliased polygon in an image.