pub fn split_rects_with_gaps(
area: LayoutRect,
orientation: Orientation,
weights: &[u16],
child_count: usize,
gap: u16,
) -> (Vec<LayoutRect>, Vec<LayoutRect>)Expand description
Split a rect into child_count rects separated by gap-width gaps.