pub(crate) fn content_distribution( mode: &str, free: f32, n: usize, rtl_main: bool, ) -> (f32, f32)
余白の配り方(justify-content / align-content)。戻り値 = (先頭オフセット, 各溝に足す幅)。 free は配れる余り(負なら溢れ)、n は折りたたまれていないトラック数。
justify-content
align-content
free
n