Re: [svg-developers] Re: Convert path to polygon

2005-04-22 Thread Chris Lilley
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,

[svg-developers] Re: Convert path to polygon

2005-04-20 Thread chun79
Thanks a lot! Thanks method is really good for edge and curve but a bit not sufficient to sample the vertex! --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote: oops , there is a little bug in the code just posted ! var len = path.getTotalLength(); var d =