Function libnotcurses_sys::ncvisual_from_rgb_loose [−][src]
pub unsafe extern "C" fn ncvisual_from_rgb_loose(
rgba: *const c_void,
rows: c_int,
rowstride: c_int,
cols: c_int,
alpha: c_int
) -> *mut ncvisual
Expand description
ncvisual_from_rgba(), but the pixels are 4-byte RGBx. A is filled in throughout using ‘alpha’. rowstride must be a multiple of 4.