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: Alex Kac <email@hidden>
- Date: Thu, 26 May 2011 16:27:00 -0500
Sure, I get the idea of only optimizing if needed. That said, experience (15 years) tells me very strongly that if I know that X will be slow and Y will be fast and either way works properly, I'd probably choose Y. So I prefer to stand on the shoulders of giants where possible. I've got a working solution - thanks guys!
On May 26, 2011, at 2:46 PM, Conrad Shultz wrote:
> The OP wants a solution for iOS. lock/unlockFocus only exist in NSView, not UIView.
>
> FWIW, I think you (that is, the OP) should start with the simplest solution available (e.g. Steve's suggestion), test performance, and only optimize if needed. Don't try to optimize if it's not actually required!
>
> --
> Conrad Shultz
> www.synthetiqsolutions.com
>
> On May 26, 2011, at 11:40, Jens Alfke <email@hidden> wrote:
>> [image lockFocus];
>> …draw stuff…
>> [image unlockFocus];
>
Alex Kac - President and Founder
Web Information Solutions, Inc.
"Patience is the companion of wisdom."
--Anonymous
_______________________________________________
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