Function libnotcurses_sys::ncplane_stain[][src]

pub unsafe extern "C" fn ncplane_stain(
    n: *mut ncplane,
    ystop: c_int,
    xstop: c_int,
    ul: u64,
    ur: u64,
    ll: u64,
    lr: u64
) -> c_int
Expand description

Set the given channels throughout the specified region, keeping content and attributes unchanged. Returns the number of cells set, or -1 on failure.