Hi David, David Delbecq <[EMAIL PROTECTED]> wrote on 11/17/2006 04:31:18 AM:
> in an application, am using component.paint(someSVGGraphics2DInstance) > to generate a svg tree. > I'd like to hint SVGGraphics2D, somehow into generating a similar > hierarchy of box (with corresponding id) inside the svg. Assuming i can > explore myself the components hierarchy (that is i do not rely on the > container's paint()) how can i provide such information to the svg tree? Unfortunately this is harder than would be ideal to do with the SVGGraphics2D (it really wasn't designed with this in mind). However, you can use the SVGGraphics2D to render pieces of the whole document and then combine those manually (DOM appendChild) into a complete document (render one piece, call 'getRoot()' - which clears the generated tree, render another piece, call 'getRoot()'...). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
