title: Getting issue in CGPath Scale
body: <p>I am drawing polygon using <code>CGPath</code> and adding to <code>CAShapeLayer</code>.I want to scale my <code>CGPath</code> when user click on it. I know how to scale <code>CGPath</code>. But when i click my <code>CGPath</code>, my <code>CGPath</code> drawing far from centre while i am drawing polygon in centre.</p>
  
  <pre><code>CGAffineTransform scaleTransform = CGAffineTransformMakeScale(scaleFactor, scaleFactor);
  CGPathRef oldPath = polygonLayer.path;
  CGPathRef scaledPath = CGPathCreateCopyByTransformingPath(oldPath, &amp;scaleTransform);
  polygonLayer.path = scaledPath;
  </code></pre>