• 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: [ANN] WFBezierCombinatorics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] WFBezierCombinatorics


  • Subject: Re: [ANN] WFBezierCombinatorics
  • From: Graham Cox <email@hidden>
  • Date: Sat, 08 Mar 2014 14:43:48 +1100

On 8 Mar 2014, at 2:24 pm, Noah Desch <email@hidden> wrote:

> ’ve written a category on NSBezierPath that allows boolean operations on paths (union, intersection, subtraction) which preserves curved elements throughout the operation and does not require "flattening" paths into line segments prior to processing.
>
> I thought this might be a generally useful bit of code so I am making it available on GitHub:
> https://github.com/wiresoft/WFBezierCombinatorics
>
> I hope others may find this useful.


Hi Noah,

Indeed, this is a potentially a very useful body of code.

I have several implementations, some which flatten and others that do not, but the non-flattening cases are not always totally reliable. This can be a very hard problem to solve. I have a number of test cases that I can throw at the code that might show up problems - I'll be glad to give your code a whirl. Which algorithm did you employ?

Thanks for doing this and making it available so cheaply (!) It's something that I've always thought should be part of NSBezierPath as standard (especially as Core Graphics must have the code in there already to calculate clipping path intersections).

--Graham




_______________________________________________

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: [ANN] WFBezierCombinatorics
      • From: Noah Desch <email@hidden>
References: 
 >[ANN] WFBezierCombinatorics (From: Noah Desch <email@hidden>)

  • Prev by Date: Best way to composite/tile multiple CGImages to one image
  • Next by Date: Re: Best way to composite/tile multiple CGImages to one image
  • Previous by thread: Re: [ANN] WFBezierCombinatorics
  • Next by thread: Re: [ANN] WFBezierCombinatorics
  • Index(es):
    • Date
    • Thread