Skip to main content

pixel_rect

Function pixel_rect 

pub fn pixel_rect(rect: Rect, width: u32, height: u32) -> Option<FineDamageRect>
Expand description

The device pixels rect touches inside a width x height target, rounded out; None when that is empty.