pub fn split_rects_weighted(
area: LayoutRect,
orientation: Orientation,
weights: &[u16],
child_count: usize,
) -> Vec<LayoutRect>Expand description
Weighted split of a rect into child_count rects using integer weights.
pub fn split_rects_weighted(
area: LayoutRect,
orientation: Orientation,
weights: &[u16],
child_count: usize,
) -> Vec<LayoutRect>Weighted split of a rect into child_count rects using integer weights.