title: Rotate CGPath without changing its position
body: <p>I want to rotate a <code>CGPath</code>, I'm using the following code:</p>
  
  <pre><code>CGAffineTransform transform = CGAffineTransformMakeRotation(angleInRadians);
  CGPathRef rotatedPath = CGPathCreateCopyByTransformingPath(myPath, &amp;transform);
  </code></pre>
  
  <p>This code works fine but it changes path's position! I want the path remain at the same position as it was before rotating.</p>