pub type ToLocal = [f32; 12];Expand description
Maps a clip-space offset into a gradient’s own space, in column order.
Clip space is anisotropic whenever the target is not square, and a transform may rotate or skew as well, so a circle in user space is an ellipse there. Radial and sweep gradients measure distance and angle, both of which that distortion changes, so they map back before measuring. A linear gradient projects onto an axis, which distortion does not affect, and so does not need this.