Function libnotcurses_sys::ncdirect_hline_interp[][src]

pub fn ncdirect_hline_interp(
    ncd: &mut NcDirect,
    egc: &str,
    len: NcDim,
    h1: NcChannels,
    h2: NcChannels
) -> NcIntResult
Expand description

Draws horizontal lines using the specified NcChannelss, interpolating between them as we go.

The string at egc may not use more than one column.

All lines start at the current cursor position.

For a horizontal line, len cannot exceed the screen width minus the cursor’s offset.

Method: NcDirect.hline_interp().