Re: how to perform boolean operation on NSBezierPath
Re: how to perform boolean operation on NSBezierPath
- Subject: Re: how to perform boolean operation on NSBezierPath
- From: Alastair Houghton <email@hidden>
- Date: Wed, 27 Jun 2007 15:20:14 +0100
On 27 Jun 2007, at 11:23, Tommy Nordgren wrote:
On 27 jun 2007, at 11.46, Aby wrote:
hi folks,
Could anyone shed some light on how to perform boolean operation on
NSBezierPath objects like addition , intersection etc
Thanks in advance
Aby
Addition: NSBezierPath method appendBezierPath:
I don't think that's what Aby meant.
I think the following may be more relevant:
http://www.cocoadev.com/index.pl?NSBezierPathcombinatorics
The problem of performing Boolean operations on arbitrary paths is
actually quite a difficult one to solve, and the algorithms required
for this type of operation are typically complicated and expensive to
run. If you can avoid it somehow (for instance by using compositing
to achieve the same effect) then you should probably do so.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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