Skip to main content

compute_layout

Function compute_layout 

Source
pub fn compute_layout(
    tree: &BoxTree,
    text_measure: &dyn TextMeasure,
    viewport: Size,
) -> LayoutResult
Expand description

Compute layout for an entire box tree.