|
Hi dear fellows, I have another challenge, or actually there are 2: 1) when
I clone a <g>-node (which has a lot of child nodes and is expensive
to build and render) buy adding a clip-path attribute to the cloned node, but
still the cloned and clipped <g>node when added to another JSVGCanvas
seems to take as much time as his unclipped clone. Is there a way to optimize
rendering/building with clipped nodes? 2) I
want to swap the SVGDocuments from 2 JSVGCanvases. How can I achieve that the
JSVGCanvas hasn’t to build the GVT tree again? I do the swapping as following:
SVGDocument document = canvas.getSVGDocument();
SVGDocument viewerDoc = canvas2.getSVGDocument();
canvas.setSVGDocument(viewerDoc);
canvas2.setSVGDocument(document); Thanks for your kind help. J Dominik |
- clip-path performance / swapping SVGDocuments Steiner, Dominik
- Re: clip-path performance / swapping SVGDocuments Tonny Kohar
- Re: clip-path performance / swapping SVGDocuments Thomas DeWeese
