On Thursday, April 21, 2005, 4:35:06 AM, chun79 wrote:


c> Thanks a lot!

c> Thanks method is really good for edge and curve

c> but a bit not sufficient to sample the vertex!

Yes, a better approach is to take each path command and convert
appropriately - an L or l command needs only two points, a curve many
more. There are many algorithms for tessellating a curve to a polygon.

See for example
http://www.cosc.brocku.ca/~cspress/HelloWorld/1999/04-apr/rendering_bezier_forms.html
demo here
http://www.aravind.ca/BezierApplet


-- 
 Chris Lilley                    mailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to