Re: mathematical area of closed vector path
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