mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Currently, AffineTransform.rotate(byRadians:) simply assigns the sines and cosines to the transformation matrix, throwing away information about the current scale, rotation, etc. This patch performs a proper rotation by concatenating the rotation matrix.
11 KiB
11 KiB