ncplane_halign

Function ncplane_halign 

Source
pub fn ncplane_halign(
    plane: &NcPlane,
    align: impl Into<NcAlign_u32>,
    numcols: u32,
) -> NcResult_i32
Expand description

Returns the column at which numcols columns ought start in order to be aligned according to align within the plane.

Returns -NCRESULT_MAX if NCALIGN_UNALIGNED.

Method: NcPlane.halign().