W3C home > Mailing lists > Public > www-svg@w3.org > August 2005

Convert path arcs to cubic splines?

From: Mark McKay <mark@kitfox.com>
Date: Sat, 06 Aug 2005 11:40:36 -0400
Message-ID: <42F4D9F4.3050709@kitfox.com>
To: www-svg@w3.org


I'm having trouble tring to figute out how to calculate arcs.  In 
particular, I'd like to convert a path's arc syntax into the equivilant 
(or closest) cubic syntax. 

I'm writing a program that parses the content of the path element and 
produces GeneralPath shapes in Java.  The GeneralPath can create shapes 
composed of linear, quadratic and cubic splines.  Any light shed into 
how to interpret the arc syntax would be a big help.

Mark McKay
Received on Saturday, 6 August 2005 15:41:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:04 UTC