Skip to main content

captured_damage

Function captured_damage 

Source
fn captured_damage(
    rects: &[Rectangle],
    x: i32,
    y: i32,
    width: i32,
    height: i32,
) -> Damage
Expand description

The share of the captured area at (x, y), width x height, that the root’s damaged rects cover.