title: Why does my CGContext-drawn circle suck?
body: <p>I have a custom table view cell that is intended to draw a circle like the iPhone’s Mail.app does:</p>
  
  <p><img src="https://i.stack.imgur.com/1Dc2l.png" alt="Circles that don&#39;t suck"></p>
  
  <p>Instead, it draws like this:</p>
  
  <p><img src="https://i.stack.imgur.com/DcE6h.png" alt="Circles that suck"></p>
  
  <p>Here’s my code:</p>
  
  <pre><code>CGContextRef context = UIGraphicsGetCurrentContext();
  UIColor *grayColor = [UIColor grayColor];
  
  [grayColor set];
  
  CGContextStrokeEllipseInRect(context, CGRectMake(9, 10, 23, 23));
  </code></pre>
  
  <p><strong>How can I make it not suck?</strong> :)</p>
  
  <p>Edit: Ignore the fact that I omitted the code that draws the white background color.</p>
  
  <p><strong>What about it sucks?</strong> It doesn’t look close to, if not exactly like, the circle from Mail.</p>