Hi Olaf, oraether <olaf.raet...@emerson.com> wrote on 07/06/2011 03:31:35 PM:
> Has anyone an idea (or a link to a library) how to convert a PATH into > polygon points ? > But not only the lineTo parts - of course the curve (A,C) elements as well. In Batik there are classes to convert a path string into a AWT Shape element (in particular org.apache.batik.parser.AWTPathProducer). Once you have an AWT Shape element you can call it's getPathIterator with a flatness and it will tesselate the curves to the specified accuracy. Thomas DeWeese | CDG Advanced Development | Eastman Kodak Company | 343 State Street | Rochester, NY 14650-0128 | thomas.dewe...@kodak.com | 585 724-0294 | www.kodak.com