• 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: Conrad Shultz <email@hidden>
  • Date: Thu, 26 May 2011 12:46:11 -0700

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];

_______________________________________________

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

  • Follow-Ups:
    • Re: Drawing an arc fill inside an image
      • From: Alex Kac <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>)

  • Prev by Date: Re: How to implement "while there are objects in the array - run runloop" idea?
  • Next by Date: IKScannerDeviceView transferMode set to memory
  • 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