Skip to main content

gather_overlay

Function gather_overlay 

Source
pub fn gather_overlay(
    tree: &ShadowTree,
    layout_engine: &LayoutEngine,
    highlight_id: Option<NodeId>,
) -> LayoutOverlay
Expand description

Gather all layout rectangles for the overlay. If highlight_id is set, that node is marked as highlighted.