Function libnotcurses_sys::ncvisual_render[][src]

pub unsafe extern "C" fn ncvisual_render(
    nc: *mut notcurses,
    ncv: *mut ncvisual,
    vopts: *const ncvisual_options
) -> *mut ncplane
Expand description

Render the decoded frame to the specified ncplane. If one is not provided, one will be created, having the exact size necessary to display the visual. A subregion of the visual can be rendered using ‘begx’, ‘begy’, ‘lenx’, and ‘leny’. Negative values for ‘begy’ or ‘begx’ are an error. It is an error to specify any region beyond the boundaries of the frame. Returns the (possibly newly-created) plane to which we drew.