Skip to main content

sample_y

Function sample_y 

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

Sample a pixel with edge mode handling for vertical sampling.