Skip to main content

Module layout_pass

Module layout_pass 

Source
Expand description

Layout pass — runs taffy on the BoxTree to produce per-node geometry.

Structs§

BoxLayout
Resolved geometry for a single node, in absolute viewport coordinates.
Insets
LayoutResult
Result of a layout pass: layout per node, indexed by NodeId.

Functions§

run_layout
Run taffy on a BoxNode tree and return the resolved layouts.