Demian Gutierrez wrote:

There is a TODO: the problem was that all objects in the tree has
clips with bounds of (0, 0, 1, 1) so the only thing I get first was a
black image only with the pixel at 0, 0 painted. I don't know why all
the clips are this way, y any one knows it please tell me. At least
the workaround works.

I suspect that this is because you don't set a viewing transform, and/or because your useragent doesn't provide a viewport Size.

    You might take a look at the SVGAbstractTranscoder
in org.apache.batik.transcoder, see line 246 where it calculates
the viewing transform and 265 where it puts it on the GVT tree.

Regards, Demi�n Gutierrez.

PS: I',m very new using batik (a few days) so if you have coments or
suggestions about my code, they are welcomed. :-)

Over all the code looks pretty good.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to