Skip to main content

layout_rect

Function layout_rect 

pub fn layout_rect(taffy: &TaffyTree, node: NodeId, origin: Point) -> Rect
Expand description

node’s laid-out box placed at origin: what apply_layout stores as a leaf’s rect. A node missing from the tree is an empty box at origin.