Function libnotcurses_sys::ncplane_putegc_yx[][src]

pub unsafe extern "C" fn ncplane_putegc_yx(
    n: *mut ncplane,
    y: c_int,
    x: c_int,
    gclust: *const c_char,
    sbytes: *mut c_int
) -> c_int
Expand description

Replace the cell at the specified coordinates with the provided EGC, and advance the cursor by the width of the cluster (but not past the end of the plane). On success, returns the number of columns the cursor was advanced. On failure, -1 is returned. The number of bytes converted from gclust is written to ‘sbytes’ if non-NULL.