![](https://secure.gravatar.com/avatar/e1ef55136ae45d648254935a18e9acb7.jpg?s=120&d=mm&r=g)
I like the inkscape:patheffect, but also need to add the "inkscape:original-d" on the svg:path, like was did on the "Simple idea"
Path Effects defs on the defs section will need a garbage collection to clean unset Path Effects or the defs will be a garbage deposit. (When we delete a element with gradients its def still on defs section)
Johan, the Live Path Effect script will recive the full SVG to change/create the path and other elements?
I'm seeing 2 ways: - The script recive only the path (Only the "d" attribute) Will be very fast to get, change and return. And it can be the most interesting way for a lot of Live Path Effects. - The script recive the full SVG file and return a new full SVG (like all other effects). It will be useful to create effects that generate elements based on the path like clones of some Xara Live efects. (the random mosaic or creation is a good example of that)
I thik is very easy to give this 2 ways for the developers. The inkscape:patheffect tag can have a "informatin method" attribute :-) <inkscape:patheffect effect="org.inkscape.patheffect.a" information="(svg|path)">
Good work Johan! I realy want so much to write Live Path Effects! :-D
Cheers, Aurium
On 5/8/07, J.B.C.Engelen@...1578... <J.B.C.Engelen@...1578...> wrote:
Hi all,
I already have live effects working for a bit (see the live-path-effects branch). Now I want to focus on how to write things to SVG. On the following wiki page, I have put some alternatives that I found in a mail discussion a year ago. http://wiki.inkscape.org/wiki/index.php/LivePathEffects_Discussion
What do you think is the best solution? The defs and inkscape:patheffect ones are my favorites.
Feel free to svn checkout the branch and play around! (see \share\examples\live-path-effects.svg)
Cheers, Johan
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel