Given an UIImage and a CGRect, what is the most efficient way (in memory and time) to draw the part of the image corresponding to the CGRect<
UIImage
CGRect
CGRect<
Rather than creating a new image (which is costly because it allocates memory), how about using CGContextClipToRect?
CGContextClipToRect