Function libnotcurses_sys::ncplane_at_yx[][src]

pub unsafe extern "C" fn ncplane_at_yx(
    n: *const ncplane,
    y: c_int,
    x: c_int,
    stylemask: *mut u16,
    channels: *mut u64
) -> *mut c_char
Expand description

Retrieve the current contents of the specified cell. The EGC is returned, or NULL on error. This EGC must be free()d by the caller. The stylemask and channels are written to ‘stylemask’ and ‘channels’, respectively. The return represents how the cell will be used during rendering, and thus integrates any base cell where appropriate. If called upon the secondary columns of a wide glyph, the EGC will be returned (i.e. this function does not distinguish between the primary and secondary columns of a wide glyph).