• 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: 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

  • Follow-Ups:
    • Re: Drawing an arc fill inside an image
      • From: Conrad Shultz <email@hidden>
References: 
 >Drawing an arc fill inside an image (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: How to implement "while there are objects in the array - run runloop" idea?
  • Next by Date: Why do things wind up under the nav bar after rotation?
  • Previous by thread: Drawing an arc fill inside an image
  • Next by thread: Re: Drawing an arc fill inside an image
  • Index(es):
    • Date
    • Thread