• 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: getting points in circular bezierpath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting points in circular bezierpath


  • Subject: Re: getting points in circular bezierpath
  • From: "R. Scott Thompson" <email@hidden>
  • Date: Wed, 6 Oct 2004 11:47:49 -0500


On Oct 6, 2004, at 11:35 AM, Frank Midgley wrote:

On Oct 4, 2004, at 8:28PM, 김경옥 wrote:

I need to check every pixels in a circlular(oval) area drawn by bezierPathWithOvalInRect in NSBezierPath.
Is there any method to get the coordinates of every pixels in Oval not in Rect.
Or I need something to check if a point is in the oval like NSPointInRect.

Um, -[NSBezierPath containsPoint:]?

I think you'd probably be better off drawing the oval into an offscreen image and looking to see which pixels have been set.

Scott

--
Macintosh Software Engineering Consulting Services
Visit my resume at <http://homepage.mac.com/easco/RSTResume.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >getting points in circular bezierpath (From: 김경옥 <email@hidden>)
 >Re: getting points in circular bezierpath (From: Frank Midgley <email@hidden>)

  • Prev by Date: Re: Java VM version query
  • Next by Date: NSFontPanel & NSColorPanel
  • Previous by thread: Re: getting points in circular bezierpath
  • Next by thread: Help with crashing cocoa/CoreFoundation app
  • Index(es):
    • Date
    • Thread