Skip to main content

build_row

Function build_row 

Source
fn build_row(
    dims: &[(u32, u32)],
    indices: Vec<usize>,
    canvas_w: f32,
    y: f32,
    last_row: bool,
    cfg: LayoutConfig,
) -> LaidRow
Expand description

Scale, clamp, and place items into a single laid-out row.