-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Thomas,
first thanks for your answer.
> TK> I've written a transcoder, which creates html image maps.
> Congradulations, and thanks. FYI I this is really more in
> Vincent's domain, he is currently away but due back soon I believe.
I have time.
> TK> - Could someone look over it, as it's my first programming with
> TK> batik?
> I took a quick look at it but as I said this really isn't my area.
No problem. But I think you have more overview of the API than me.
> One point is that often outlines will have multiple parts, so you will
> fairly often have a Move command in the middle of a path, so this
> really should be handeled (this will happen if there is more than one
> shape in a group as well as lots of other cases).
Does this mean, that MOVETO's imply, that the Paths before was closed? Would
be no problem to change.
I didn't have a case until now, where a MOVETO didn't happen at the begin or
after a CLOSE.
> TK> - I have used javax.xml.transform for xml serialization. Is there
> TK> a better way in batik, as it was before not used?
> I dunno.
Now, I've used xalan for this. I don't know if there is another way to create
XML out of SAX Events. I haven't programmed much with XML before. Now xalan
or another implementation for javax.xml.transform is required as library. Is
it a problem for the distribution, to depend on this package?
> TK> What I want to do before commiting: -
> TK> - Seperating in more classes. I'd like to extract the polygons
> TK> with user space coordinates in one class, create the SAX events
> TK> for the html elements in another and have the serialization in
> TK> another. This is because I'd like to have it as transformer in
> TK> cocoon.
> All sounds like good ideas. The current code is a bit monolithic.
The serialization is already extracted now. Now I'm thinking of the html
class. I think I will implement it as XML style sheet which is transformed to
java via xsltc.
With kind regards
Torsten Knodt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9W+lpvxZktkzSmiwRAn8PAJ43u1Ch6he3oYq5ZrhgA9/nJ34ZLQCgm37L
RZ1txIsnc0RQO4IPJ1F7H+w=
=P4Gv
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]