title: How to create a perfect half circle with CGPathAddCurveToPoint?
body: <p>I am trying to create a perfect right half circle of 15 points radius with CGPathAddCurveToPoint, like this:</p>
  
  <pre><code>CGPathMoveToPoint(path, NULL, 0, 0);
  CGPathAddCurveToPoint(path, NULL, 15, 0, 15, 30, 0, 30);
  </code></pre>
  
  <p>It starts at the top middle of the circle.
  Then the first control point is set to the top right corner of the circle's bounding box.
  The second control point is set to the bottom right corner of the circle's bounding box.
  The circle ends at bottom middle of the bounding box.</p>
  
  <p>But when drawn, the circle has an egg-like shape.</p>
  
  <p>How can I make a perfect, flawless right semisphere starting at point 0,0 going to the right and ending at 0,30?</p>