杨锴
2025-03-11 90dc3329d1973fda691e357cf4523d5c7c67fa1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CGAffineTransformExtensions.swift - Copyright 2024 SwifterSwift
 
#if canImport(CoreGraphics)
import CoreGraphics
 
#if canImport(QuartzCore) && !os(watchOS)
 
import QuartzCore
 
// MARK: - Methods
 
public extension CGAffineTransform {
    /// SwifterSwift: Returns a transform with the same effect as the receiver.
    @inlinable
    func transform3D() -> CATransform3D { CATransform3DMakeAffineTransform(self) }
}
 
#endif
 
#endif