Function libnotcurses_sys::ffi::ncdirect_render_image [−][src]
pub unsafe extern "C" fn ncdirect_render_image(
n: *mut ncdirect,
filename: *const c_char,
align: ncalign_e,
blitter: ncblitter_e,
scale: ncscale_e
) -> c_int
Expand description
Display an image using the specified blitter and scaling. The image may be arbitrarily many rows – the output will scroll – but will only occupy the column of the cursor, and those to the right. The render/raster process can be split by using ncdirect_render_frame() and ncdirect_raster_frame().