> From: Stevenson, Chris (SSABSA) [mailto:[EMAIL PROTECTED]] >[...] >>Info >> in the tutorial on "Customizing the generated SVG style" >> (http://xml.apache.org/batik/svggen.html#custom) may be >> of interest to you. >[...] > If I include the two lines after *** I get the entire file as attached > below. > Note complete absence of viewBox and any other data! The draw > method is not
If I remember correctly, getRoot() on the generator clears out the tree. The example I mentioned retrieves the root, adds some stuff, and then streams *this root* to output. Did you try this? // dump the root content to a given Writer myWriter svgGenerator.stream(root, myWriter); Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
