nccells_load_box

Function nccells_load_box 

Source
pub fn nccells_load_box(
    plane: &mut NcPlane,
    style: impl Into<NcStyle_u16>,
    channels: impl Into<NcChannels_u64>,
    ul: &mut NcCell,
    ur: &mut NcCell,
    ll: &mut NcCell,
    lr: &mut NcCell,
    hl: &mut NcCell,
    vl: &mut NcCell,
    gcluster: &str,
) -> NcResult_i32
Expand description

Loads up six cells with the EGCs necessary to draw a box.

Returns NCRESULT_OK on success or NCRESULT_ERR on error.

On error, any NcCells this function might have loaded before the error are nccell_released. There must be at least six EGCs in gcluster.

Method: NcCell.load_box().