Type Definition libnotcurses_sys::NcScale[][src]

type NcScale = ncscale_e;
Expand description

Indicates how to scale an NcVisual during rendering.

The NCSCALE_* preferences are applied only for the context of NcVisual.render. You can think of it as a pipeline:

NcVisual::fromfile() → frame → NcVisual.render() → scaling → output frame → blit

where you still have the original frame. Whereas NcVisual.resize and NcVisual.resize_noninterpolative are changing that original frame.