« Return to Thread: SVG Tiny 1.2 CR2006-08-10: path data

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

by Nand :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: SVG Tiny 1.2 CR2006-08-10: path data