Yoganarasimha G wrote:
HI Robert,
can u pl send me an example how to get the html image map from an svg doc?
Currently the road is rather stony and requires some Java skills :-)
You have to take the code from Torstens mail
http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg03068.html
and
transcoder: great but some problems
First of all, thanks to the Batik people and Torsten Knodt for Batik in
general and the experimental image map transcoder in special! I had
already been wracking my mind about how to get HTML image maps out of
Batik when I found Torstens patch in his mail from 2
Robert Casties wrote:
Thomas DeWeese wrote:
Should I rather start with the "root" field from
SVGAbstractTranscoder after its transcode() method? It seems to do
all the necessary preparations.
The problem is that the 'root' field is the GVT tree. The
existing code walks the DOM tree, so unle
Thomas DeWeese wrote:
Should I rather start with the "root" field from SVGAbstractTranscoder
after its transcode() method? It seems to do all the necessary
preparations.
The problem is that the 'root' field is the GVT tree. The
existing code walks the DOM tree, so unless you want to seriou
Robert Casties wrote:
Thomas DeWeese wrote:
Essentially you want to do everything in
batik.transcoder.SVGAbstractTranscoder.transcode method (you
may want to subclass from it) The important thing is that
'isDynamic' must be true otherwise the 'getGraphicsNode' call
will fail (you may not want
Thomas DeWeese wrote:
Essentially you want to do everything in
batik.transcoder.SVGAbstractTranscoder.transcode method (you
may want to subclass from it) The important thing is that
'isDynamic' must be true otherwise the 'getGraphicsNode' call
will fail (you may not want to run onload scripts!)
Robert Casties wrote:
Thomas DeWeese wrote:
Yah, it looks like the basic approach would have significant
problems doing this. The biggest issue is the 'piecemeal'
building of the tree:
class PathGenerator:
for (PathIterator path = builder.build (ctx,e).getOutline()[...]
If the code built t
Thomas DeWeese wrote:
Robert Casties wrote:
First of all, thanks to the Batik people and Torsten Knodt for Batik
in general and the experimental image map transcoder in special! I had
already been wracking my mind about how to get HTML image maps out of
Batik when I found Torstens patch in his
Robert Casties wrote:
First of all, thanks to the Batik people and Torsten Knodt for Batik in
general and the experimental image map transcoder in special! I had
already been wracking my mind about how to get HTML image maps out of
Batik when I found Torstens patch in his mail from 2 September
First of all, thanks to the Batik people and Torsten Knodt for Batik in
general and the experimental image map transcoder in special! I had
already been wracking my mind about how to get HTML image maps out of
Batik when I found Torstens patch in his mail from 2 September 2002.
(http://koala.il
10 matches
Mail list logo