title: CGPathCreateWithEllipseInRect with a transform
body: <p>Experimenting with the use of the <code>CGPathCreateWithEllipseInRect</code> function in Swift, I am having this issue:</p>
  
  <p>This code works as I expect, I get a path and can make use of it:</p>
  
  <pre><code>CGPathCreateWithEllipseInRect(CGRect(x: xCoord, y: yCoord,
                  width: theWidth, height: theHeight), nil)
  </code></pre>
  
  <p>But this one does not work:</p>
  
  <pre><code>var affineTransform = CGAffineTransformMakeRotation(1.0)
  
  CGPathCreateWithEllipseInRect(CGRect(x: xCoord, y: yCoord,
                  width: theWidth, height: theHeight), &amp;affineTransform)
  </code></pre>
  
  <p>It seems like I get no path at all (or an empty one). What am I doing wrong?</p>