imageproc::drawing

Function draw_cross

Source
pub fn draw_cross<I>(
    image: &I,
    color: I::Pixel,
    x: i32,
    y: i32,
) -> Image<I::Pixel>
where I: GenericImage,
Expand description

Draws a colored cross on a new copy of an image.

Handles coordinates outside image bounds.