DVUI

initOutline

Parameters

#
num_cols:usize
usize
num_rows:usize
usize
border_external_w:f32
f32

Source

Implementation

#
pub fn initOutline(num_cols: usize, num_rows: usize, border_external_w: f32) Borders {
        return .{
            .external = Rect.all(border_external_w),
            .internal = Rect.all(0),
            .num_cols = num_cols,
            .num_rows = num_rows,
        };
    }