• 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: mathematical area of closed vector path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mathematical area of closed vector path


  • Subject: Re: mathematical area of closed vector path
  • From: Marcel Weiher <email@hidden>
  • Date: Thu, 27 Jan 2005 13:14:40 +0000


On 25 Jan 2005, at 16:13, Nicko van Someren wrote:


On 25 Jan 2005, at 13:37, Tim Ramsey wrote:
[rendering to bitma]

For most paths I think that this method will be both slower and consume more memory.

Sure. But it will still be pretty quick, is pretty trivial to implement...


[snip]

It should be noted that the geometric method fails in most cases where the winding rule for rendering would be significant. For instance if you have a counter-clockwise loop wholly inside a clockwise loop it works fine (and non-zero and odd-even winding rules for rendering look the same) but if both loops are clockwise then the inner loop gets counted twice. Loops in a figure of eight or other types of loop that are not inherently either clockwise or counter-clockwise also fail.

...and reuses code that already takes care of all of this stuff!

Marcel

--
Marcel Weiher                          Metaobject Software Technologies
email@hidden         www.metaobject.com
The simplicity of power            HOM, IDEAs, MetaAd etc.
        1d480c25f397c4786386135f8e8938e4


_______________________________________________ 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: 
 >Re: mathematical area of closed vector path (From: Tim Ramsey <email@hidden>)
 >Re: mathematical area of closed vector path (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: Including binaries and other files in a application package
  • Next by Date: Re: Including binaries and other files in a application package
  • Previous by thread: Re: mathematical area of closed vector path
  • Next by thread: Re: mathematical area of closed vector path
  • Index(es):
    • Date
    • Thread