Hi Cameron, > Cameron McCormack <[EMAIL PROTECTED]> wrote on 10/26/2006 08:12:55 AM:
> > Thomas, did you get to finishing the work on dependency updating (e.g. > > referenced paint servers)? [EMAIL PROTECTED] wrote on 10/28/2006 08:02:42 AM: > I got it working for gradients. I'll put it up as a branch so you > can look at it. I've put it up at: https://svn.apache.org/repos/asf/xmlgraphics/batik/branches/depend-track The things to look at are; samples/test/spec/scripting/gradients.svg an example of changing indirect attributes and the using elements being updated. The main new piece is batik/bridge/WatchList.java, this collects and registers and removes the event listeners to track attribute changes. One of the problems with this is that it can't track CSS changes (because there is no way to register a listener for CSS value changes) this isn't normally a bit problem in the case of paint servers but is a hole in the basic system. Although if we added support for the equivalent of DOM mutation events to the CSS engine then this could be solved fairly simply. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
