Skip to main content

load_row

Function load_row 

Source
pub fn load_row(
    dst: &mut [i16],
    src: &Surface,
    y: i32,
    x0: i32,
    x1: i32,
    mode: u32,
)
Expand description

w16 = working pixels of (x0 .. x1-1, y); outside columns / rows: the edge pixel (clamp) or 0 (mode & FXL_ZERO); mode & FXL_GAMMA: linear light [fxc_load_row]