Skip to main content

frame_rects

Function frame_rects 

Source
pub(crate) fn frame_rects(
    rects: &[Rectangle],
    x: i16,
    y: i16,
    width: u16,
    height: u16,
) -> Vec<Rectangle<i32, Physical>>
Expand description

The root’s damaged rects in the coordinates of the captured area at (x, y), width x height, clipped to it.