Function libnotcurses_sys::ncplane_create[][src]

pub unsafe extern "C" fn ncplane_create(
    n: *mut ncplane,
    nopts: *const ncplane_options
) -> *mut ncplane
Expand description

Create a new ncplane bound to plane ‘n’, at the offset ‘y’x’x’ (relative to the origin of ‘n’) and the specified size. The number of ‘rows’ and ‘cols’ must both be positive. This plane is initially at the top of the z-buffer, as if ncplane_move_top() had been called on it. The void* ‘userptr’ can be retrieved (and reset) later. A ‘name’ can be set, used in debugging.