Type Definition libnotcurses_sys::NcDirectF[][src]

type NcDirectF = NcVisual;
Expand description

A type alias of NcVisual (NcDirect Frame) intended to be used with its ncdirectf_* methods, in NcDirect mode.

Implementations

Loads media from disk, but do not yet renders it (presumably because you want to get its geometry via ncdirectf_geom(), or to use the same file with ncdirectf_render() multiple times).

You must destroy the result with ncdirectf_free();

C style function: ncdirectf_from_file().

Frees a NcDirectF returned from ncdirectf_from_file().

C style function: ncdirectf_free().

Same as NcDirect.render_frame(), except frame must already have been loaded.

A loaded frame may be rendered in different ways before it is destroyed.

C style function: ncvisual_render().

Having loaded the frame, get the geometry of a potential render.

C style function: ncdirectf_geom().