Skip to main content

sample_x

Function sample_x 

Source
fn sample_x(
    src: &Pixmap,
    x: i32,
    y: u16,
    width: u16,
    edge_mode: EdgeMode,
) -> PremulRgba8
Expand description

Sample a pixel with edge mode handling for horizontal sampling.