Re: getting points in circular bezierpath
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