Function libnotcurses_sys::ffi::ncplane_erase_region [−][src]
pub unsafe extern "C" fn ncplane_erase_region(
n: *mut ncplane,
ystart: c_int,
xstart: c_int,
ylen: c_int,
xlen: c_int
) -> c_int
Expand description
Erase every cell in the region starting at {ystart, xstart} and having size {ylen, xlen}. It is an error if any of ystart, xstart, ylen, or xlen is negative. A value of 0 may be provided for ylen and/or xlen, meaning to erase everything along that dimension. It is an error if ystart + ylen or xstart + xlen is not in the plane.