W3C home > Mailing lists > Public > www-svg@w3.org > November 2006

Re: SVG Tiny 1.2 CR2006-08-10: path data

From: Nand <nand.kumar@catalytic.com>
Date: Sun, 5 Nov 2006 01:39:24 -0800 (PST)
Message-ID: <7183393.post@talk.nabble.com>
To: www-svg@w3.org



Dr. Olaf Hoffmann wrote:
> 
> Using the usual parametrisations for bezier curves a 
> simple line can be described with L, Q or C commands
> (i, f initial and final point of the curve):
> M i L f =
> M i Q (i+f)/2, f =
> M i C (2i+f)/3, (i+2f)/3 f
> or in general for Q to C conversion the 
> following can be used (p control point):
> M i Q p, f =
> M i C (2p+i)/3, (2p+f)/3, f
> 

Its good idea to convert the quadratic curve to cubic curve. Great !
But what about the smooth quadratic curve and smooth cubic curves.
What about the calculation of the arc length of the quadratic and cubic
curves.

Thanks in advance
Nand
-- 
View this message in context: http://www.nabble.com/SVG-Tiny-1.2-CR2006-08-10%3A-path-data-tf2257979.html#a7183393
Sent from the w3.org - www-svg mailing list archive at Nabble.com.
Received on Sunday, 5 November 2006 19:19:41 GMT

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