TED]
Sent: Wednesday, August 25, 2004 5:54 PM
To: Batik Users
Cc: Danilo Costa
Subject: Re: SVG to Java2D
Hi Leon,
Two points, first you may have missed that Batik includes a
whole set of 'micro parsers' that it uses to parse these basic
attributes, so presumably you could have used them (
Hi,
> Hardly Batik related, but here's a small SVG path element "d" attrib
> parser that I wrote for a game I'm working on. I tried to use Batik at
> first but the project dependencies needed to stay small so I went with
> this. I'm sure it's not efficient, but it works for me. I have some
> mor
Hi Leon,
Two points, first you may have missed that Batik includes a
whole set of 'micro parsers' that it uses to parse these basic
attributes, so presumably you could have used them (the dependencies
are fairly light as I recall).
Second I don't think your path parser is quite con formant.
Hardly Batik related, but here's a small SVG path element "d" attrib
parser that I wrote for a game I'm working on. I tried to use Batik at
first but the project dependencies needed to stay small so I went with
this. I'm sure it's not efficient, but it works for me. I have some
more code to go w
Dan,
Attached are two older postings, which may help you.
Good luck,
Elias.
-Original Message-
From: Danilo Costa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 11:23 AM
To: [EMAIL PROTECTED]
Subject: SVG to Java2D
Hi!
I 'm new here!
I need to convert SVG Elements to java2
Hello:
Peter, thanks for the code, I am sure a lot of us will find it useful.
For the meanwhile, I am using Thomas suggestion (thanks!) to get access
the the Java2D Shape object in the GVT items and from that i intend to
build the DXF descriptions. It was really clarifing what the GVT stands
f
Andres Toussaint wrote:
I am interested to get some guideance in creating Java2D objects from my
JSVGCanvas SVGDocument. The purpose of this is to bridge it into a Java2D
to DXF (autoCad) converter that i am also working on.
So the GVT tree is in some sense 'Java2D objects'. How does your
DX
Hi Andres,
I did something similar, but the code is just a quick little hack for a
particular subset of SVG (only some elements, limited attributes, no
groups, no transforms). That was good enough to use little SVGs as icons
in Java. And it was also good enough to export some shapes from
OpenO