Skip to main content

m4

Function m4 

Source
pub fn m4(points: &[[f32; 2]]) -> Vec<[f32; 2]>
Expand description

M4: of each run of points in one pixel column, the first, the lowest, the highest and the last, in their order. A line drawn through what is kept covers the same pixels as one drawn through every point. points run in ascending x.