Function transform
Source pub fn transform(offset: f32, axis: Axis, transform: &AffineTransform) -> f32
Expand description
Projects a scalar delta along a given axis through a 2D affine transform.
§Parameters
offset: The delta along the X or Y axis.
axis: Which axis the delta corresponds to.
transform: The 2×3 affine transform matrix.
§Returns
The transformed scalar offset in surface space.