fn sample_x( src: &Pixmap, x: i32, y: u16, width: u16, edge_mode: EdgeMode, ) -> PremulRgba8
Sample a pixel with edge mode handling for horizontal sampling.