Archie Cobbs wrote:
This made me thinking, is there a efficient way to consolidate path elements without losing the ability to distinguish them for events like mouseover, mouseclick etc ?This brings up an idea I've thought would be useful: an SVG optimizer. This would be a class that takes SVG as input, "optimizes" it in various ways, and spits it back out. This would do things like:
- Consolidate path elements
Does this affect rendering speed ? You mean like complex transforms on child nodes that are overwritten by transforms of the parent node ?- Remove redundant attributes - Consolidate similar attribute values on children to one attribute on a parent, from which the child nodes can all inherit.
I like the idea :) Some sort of SVG analyzer that could tell you about common performance killers and then effectively go ahead and fix it as well.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
