Re: Drawing an arc fill inside an image
Re: Drawing an arc fill inside an image
- Subject: Re: Drawing an arc fill inside an image
- From: Jens Alfke <email@hidden>
- Date: Thu, 26 May 2011 11:40:59 -0700
On May 26, 2011, at 11:21 AM, Alex Kac wrote:
> So I have the image, and I suppose I can draw that image to a context and then draw an arc on that image, and then make another image out of it. That seems like it would get slow if I needed to do that a lot.
No need to make a new image. Just draw directly into the original one:
[image lockFocus];
…draw stuff…
[image unlockFocus];
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden