Function imageproc::drawing::draw_filled_rect [] [src]

pub fn draw_filled_rect<I>(image: &I, rect: Rect, color: I::Pixel) -> VecBuffer<I::Pixel> where I: GenericImage, I::Pixel: 'static

Draw as much of a rectangle, including its boundary, as lies inside the image bounds.