Jorg Heymans wrote:
- Consolidate path elements

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 ?

I don't think so. Mouse events are at the granularity of SVG elements AFAIK.

- Remove redundant attributes
- Consolidate similar attribute values on children to one attribute
  on a parent, from which the child nodes can all inherit.

Does this affect rendering speed ? You mean like complex transforms on child nodes that are overwritten by transforms of the parent node ?

I was thinking of simple stuff like a redundant "fill" or "stroke" attribute. But some attributes have a bigger effect than others of course.

Another one is to remove unnecessary "enable-background" attributes,
as these cause the renderer to do extra work, etc.

We'd have to do a full analysis of all the possibilities, which itself
would be a major learning experience :-)

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

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



Reply via email to