Function libnotcurses_sys::ncplane_highgradient[][src]

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

Do a high-resolution gradient using upper blocks and synced backgrounds. This doubles the number of vertical gradations, but restricts you to half blocks (appearing to be full blocks). Returns the number of cells filled on success, or -1 on error.