Function libnotcurses_sys::ffi::ncdirect_hline_interp [−][src]
pub unsafe extern "C" fn ncdirect_hline_interp(
n: *mut ncdirect,
egc: *const c_char,
len: c_int,
h1: u64,
h2: u64
) -> c_int
Expand description
Draw horizontal/vertical lines using the specified channels, interpolating between them as we go. The EGC may not use more than one column. For a horizontal line, |len| cannot exceed the screen width minus the cursor’s offset. For a vertical line, it may be as long as you’d like; the screen will scroll as necessary. All lines start at the current cursor position.