Function libnotcurses_sys::nccells_load_box [−][src]
pub fn nccells_load_box(
plane: &mut NcPlane,
style: NcStyle,
channels: NcChannels,
ul: &mut NcCell,
ur: &mut NcCell,
ll: &mut NcCell,
lr: &mut NcCell,
hl: &mut NcCell,
vl: &mut NcCell,
gcluster: &str
) -> NcIntResult
Expand description
Loads up six cells with the EGC
s necessary to draw a box.
Returns NCRESULT_OK
on success or NCRESULT_ERR
on error.
On error, any NcCell
s this function might have loaded before the error
are nccell_released. There must be at least six EGC
s in gcluster
.
Method: NcCell.load_box().