ncplane_resize_simple

Function ncplane_resize_simple 

Source
pub fn ncplane_resize_simple(
    plane: &mut NcPlane,
    len_y: u32,
    len_x: u32,
) -> NcResult_i32
Expand description

Resizes the plane, retaining what data we can (everything, unless we’re shrinking in some dimension). Keep the origin where it is.

Method: NcPlane.resize_simple().