ncplane_hline

Function ncplane_hline 

Source
pub fn ncplane_hline(
    plane: &mut NcPlane,
    cell: &NcCell,
    len: u32,
) -> NcResult_i32
Expand description

Draws horizontal lines using the specified NcCell, starting at the current cursor position.

The cursor will end at the cell following the last cell output, just as if ncplane_putc was called at that spot.

Returns the number of cells drawn on success. On error, returns the negative number of cells drawn.

Method: NcPlane.hline().