On Thu, 21 Sep 2006 19:28:16 +0200, revelonshift <[EMAIL PROTECTED]> wrote:
> I also think that getting infoamtion from DOM on the fly is > slowing-down operations, so I've already cached all nodes in variables > and using only write - setAttributeNS method. > But maybe using directly SVG DOM could speed some time, but I'm not > sure how to apply changes to trasform matrix, especially translate, on > referenced element (I don't know the syntax :-( ). Do you think it > could be faster than setAttributeNS and translate(x y) ?? > > M. You could try this, to see if it helps: var svgtransform = yourelement.transform.baseVal.getItem(0); // now you hold a live SVGTransform object, modify it and it will affect the element directly svgtransform.setTranslate(x,y); It might be faster since you will then bypass the string->matrix parsing. /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

