pub fn region_contains_color( pixels: &[u32], width: usize, rect: &PixelRect, color: u32, ) -> bool
Check if a pixel region contains a specific color