pub fn affine_transform(from: &[[f32; 2]], to: &[[f32; 2]]) -> Result<[f32; 6]>Expand description
Computes the affine matrix that maps one point set onto another.
from and to hold corresponding points as [x, y] pairs; three points describe a full affine
transform and one point describes a translation. The result is the six coefficients in the order
the native warp expects.