I am not sure if I understand exactly, but look into getTotalLength() and getPointAtLength
if P is a path (obtained by P=document.getElementById(pathid) ) then P.getTotalLength() returns its length. The W3C SVG1.1 specs spell them out as I recall. Holler if you need examples, but I think this should do what you need. DD ----- Original Message ----- From: Anonymer Sender To: [email protected] Sent: Tuesday, February 20, 2007 12:01 PM Subject: [svg-developers] calculating the total pathlenght of an vector graphic Hello, and sorry for the not so good english (this is the reason, why I did not found answers yet I believe). I want to calculate the sum of the lenght of all paths in a vector graphic in Millimeter. The source formats which I have can either be SVG or Illustrator.ai/.eps etc. The best solution would be, if I could determine it by uploading an SVG-File to an Java-Script driven Webpage (which I can host by myself). As this seems to me like making the Jackpot, I also would be glad about informations, if I can determine the path lenght out of the SVG- File somehow? Thank you very much for your Brainstorming and Ideas. Nearby: My Name is Tom and I live in Vienna and I'am not an 'Hero' in Programming :) [Non-text portions of this message have been removed] ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

