Drawing an arc fill inside an image
Drawing an arc fill inside an image
- Subject: Drawing an arc fill inside an image
- From: Alex Kac <email@hidden>
- Date: Thu, 26 May 2011 13:21:13 -0500
I'm not sure what the best way to tackle this is... so I thought I'd ask here. I have an image with a circular button inside of it. I'd like to dynamically fill this button in an arc to show "progress" much like how when you are on iTunes Store on an iOS and its playing the preview its animating filling the circle in a sweep of an arc. Mine doesn't need to animate however.
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. Any suggestions? I also wouldn't mind any links that might show similar code. This is for iOS. I tried searching Google, but my GoogleFu is not showing anything, probably due to me not using the right terms.
Thanks in advance._______________________________________________
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