draw_on_image

Function draw_on_image 

Source
pub fn draw_on_image<I: GenericImage, F: Fn(&I::Pixel) -> I::Pixel>(
    im: I,
    boundary_points: impl Iterator<Item = (u32, u32)>,
    inner_points: impl Iterator<Item = (u32, u32)>,
    color: &I::Pixel,
    fn_inner_color: F,
) -> I