Lukasz Matuszczak wrote:
I am not sure what is a proper way to close JSVGCanvas, and all its
inner objects and threads. Do I have to use stopProcessing method or
is calling of dispose method sufficient?.
Dispose should be enough (it will call stopProcessing if something
is going on).
I want
Hi Tim,
Tim Clerckx wrote:
Is it somehow possible to draw SVG on a java.awt.Canvas instead of using
the JSVGCanvas swing component?
Yes, internally Batik builds something called the GVT tree the
tree is made up of 'GraphicsNodes' which have a paint method
that takes a standard Graphics2D.
Hello,
I'd like to use BatikRasterizer to have a flexible way of creating rich
dynamic titles in my html pages.
My idea is to use a svg definition of my titles where I only replace the
text to be displayed and then to take that new svg file (with the text
replaced) to produce a jpg rasterized
Hi,
I want to parse an SVG document and then show it in AWT. Is it possible
to build the GVT tree from an XML document, and then call the paint
method on the root?
Thomas DeWeese wrote:
Hi Tim,
Tim Clerckx wrote:
Is it somehow possible to draw SVG on a java.awt.Canvas instead of
using the
Hi Tim,
Yes. you can parse XML and fetch either the BufferedImage, or the array of Graphics2D objects that represent the SVG.
Basically, you need to create a JSVGComponent (you do not need a JSVGCanvas since you are displaying in a AWT) and add the build and render listeners, so you are notified
- Original Message -
From: Thomas DeWeese [EMAIL PROTECTED]
To: Batik Users batik-users@xml.apache.org
Sent: Tuesday, February 15, 2005 2:31 PM
Subject: Re: how to dispose JSVGCanvas?
Hi Thomas,
Thanks for your help, again. Some things are clearer to me, now.
Lukasz Matuszczak wrote:
I
Hi Lukasz,
Lukasz Matuszczak wrote:
I am not sure what is a proper way to close JSVGCanvas, and all its
inner objects and threads. Do I have to use stopProcessing method
or is calling of dispose method sufficient?.
Thomas DeWeese wrote:
Dispose should be enough (it will call stopProcessing
Hi Lasse,
There is not an official (or even unofficial Batik IRC
channel) there is an official SVG IRC channel - depending
on what the questions are it might help:
irc://irc.freenode.net:6667/#svg
They will likely bounce you back here if the questions are
Batik specific however.