You can use CGPathCreateCopyByTransformingPath , which creates a copy of your path converted by this CGAffineTransform . There is also a CGPathCreateMutableCopyByTransformingPath for creating a mutable copy.
Please note that both of these features were introduced in iOS 5.
If you need something that works in earlier versions of iOS, you can create an empty path ( CGPathCreateMutable ) and add your other path using CGPathAddPath , which optionally takes the transformation as the second parameter.
source share