Skip to main content

black_out

Function black_out 

Source
pub(crate) fn black_out(image: &mut RgbaImage, mask: &WindowMask)
Expand description

Black out each of mask’s rectangles in image, a pixel wider on every side so no edge of the content shows.