Getting the lenght of a path in 1.2 tiny

Hi all,

 

Is there any way to get the length of a path in SVG 1.2 tiny ?

The new interface SVGPath let you get mist parameters of the path but
NOT the length (which will be computed by the UA anyways for other
operations). [1]

 

It was possible in 1.1 to get it using the Interface SVGPathElement and
the function getTotalLength() for instance.

 

Any reason why this is gone in 1.2 tiny ?

 

Julien

 

[1]
http://www.w3.org/TR/2008/WD-SVGMobile12-20080915/svgudom.html#svg__SVGP
ath

[2] http://www.w3.org/TR/SVG11/paths.html#DOMInterfaces (Interface
SVGPathElement)

Julien Reichel, PhD

Technology Architect

___________________________

SpinetiX SA

Rue des Terreaux 17

1003 Lausanne, Switzerland

 

T  +41 21 341 15 50

F  +41 21 311 19 56

julien.reichel@spinetix.com

http://www.spinetix.com

___________________________

 

Received on Tuesday, 28 October 2008 10:05:00 UTC