• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drawing an arc fill inside an image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Drawing an arc fill inside an image (From: Alex Kac <email@hidden>)
 >Re: Drawing an arc fill inside an image (From: Jens Alfke <email@hidden>)
 >Re: Drawing an arc fill inside an image (From: Conrad Shultz <email@hidden>)

  • Prev by Date: IKScannerDeviceView transferMode set to memory
  • Next by Date: Re: Why do things wind up under the nav bar after rotation?
  • Previous by thread: Re: Drawing an arc fill inside an image
  • Next by thread: Re: Drawing an arc fill inside an image
  • Index(es):
    • Date
    • Thread