W3C home > Mailing lists > Public > www-svg@w3.org > October 2008

Getting the lenght of a path in 1.2 tiny

From: Julien Reichel <Julien.Reichel@spinetix.com>
Date: Tue, 28 Oct 2008 11:04:11 +0100
Message-ID: <364D31930BDB974AB40E22C5C2E584ED1E6F0D@asterix.SPINETIX.local>
To: <www-svg@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:40 GMT