[][src]Function nannou::ui::graph::algo::cropped_area_of_widget_within_depth

pub fn cropped_area_of_widget_within_depth(
    graph: &Graph,
    idx: NodeIndex<u32>,
    deepest_parent_idx: NodeIndex<u32>
) -> Option<Rect>

The rectangle that represents the maximum visible area for the widget with the given index.

This specifically considers the cropped scroll area for all parents until (and not including) the deepest_parent_idx is reached.

Otherwise, return None if the widget is hidden.