On 10/3/07, microUgly <drworm@...1743...> wrote:
bulia byak wrote:
Well, you're calling it a trick yourself. Which is exactly what it is. ... And if you need to replace one color by another in the entire drawing, just use the Replace color extension - much easier, no need for unnatural tricks :)
For arguements sake, I would suggest a script that does a find and replace is more of trick than an SVG supported method that doesn't require any scripting or programming.
Well, then in your interpretation the entire Inkscape is a "trick", as it uses programming to create and change SVG :)
As for SVG validity, there are lot of valid SVG files that are horrendously designed and really very weird - but valid. To me, not only the one-stop-gradient method is an extremely unnatural trick, but the very idea of gradients being able to chain and inherit from each other is an unnecessary complication in the SVG standard. I don't know what problem they were trying to solve by this; perhaps it was just a way to make SVG more compact. In most cases though, the size savings are quite small, yet the amount of code we had to write to implement this behavior (and make it behave sensibly during interactive editing) is huge.