Re: Circles and Curves

Thomas DeWeese <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <CACTtnu0z61SUWhrEKdUhG=ZU3y4pWda7NiauvoOm+PkxfCpQTg@mail.gmail.com>
Hi Javra,
   We provide an ExtendedGeneralPath that supports drawing with arc-to
commands.  You can use that to "draw" a path and then give it to a
Graphics2D.
Unfortunately our SVGGraphics2D doesn't know about the ExtendedGeneralPath
so it won't generate SVG paths that use elliptical arcs but it should
generate paths that use a roughly equivalent set of cubic curves.

    Thomas

On Sun, Mar 11, 2012 at 9:59 AM, javra <[email protected]> wrote:

> Uhm, I forgot about arc curves in svg
> (http://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands)... is
> there any way to use them in SVGGraphics2D?
>
> --
> View this message in context:
> http://batik.2283329.n4.nabble.com/Circles-and-Curves-tp4463908p4463945.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.