fn transform_offset_params(dx: f32, dy: f32, transform: &Affine) -> (f32, f32)
Transform an offset’s dx/dy using the affine transformation’s linear part.
A tuple of (scaled_dx, scaled_dy) in device space.
scaled_dx
scaled_dy