adding a picture to the middle of a drawn rectangle [iPhone]
<p>I have the following code that I am using to draw a simple rectangle inside the middle of a drawn circle, however I would like to be able to replace this rectangle with an UIImage, does anyone know how this can be done?</p>

<pre><code>CGContextSetRGBStrokeColor(context, 255.0/255.0, 255.0/255.0, 255.0/255.0, 1.0);
CGMutablePathRef path = [self newPathForRect:CGRectMake(center.x - kRoundedRectRadius, center.y - kRoundedRectRadius, kRoundedRectRadius * 2.0, kRoundedRectRadius * 2.0)];
CGContextAddPath(context, path);
CGContextDrawPath(context, kCGPathStroke);
CGPathRelease(path);
</code></pre>
