Skip to main content

compute

Function compute 

Source
pub fn compute(widget: &Widget, avail_w: f32, avail_h: f32) -> LayoutNode
Expand description

Compute layout starting at (0,0) with given available size. Returns the root LayoutNode with absolute coordinates.