• 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: how to perform boolean operation on NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: how to perform boolean operation on NSBezierPath
      • From: Greg Titus <email@hidden>
References: 
 >how to perform boolean operation on NSBezierPath (From: Aby <email@hidden>)
 >Re: how to perform boolean operation on NSBezierPath (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: screen dump crash with out sleep
  • Next by Date: Re: Explicitly changing first responder
  • Previous by thread: Re: how to perform boolean operation on NSBezierPath
  • Next by thread: Re: how to perform boolean operation on NSBezierPath
  • Index(es):
    • Date
    • Thread