On Wed, Apr 23, 2008 at 9:14 AM, bulia byak <buliabyak@...400...> wrote:
On Tue, Apr 22, 2008 at 6:31 PM, Ted Gould <ted@...11...> wrote:
To create your own I suggest copying "sepia.h" in /src/extensions/internal/filter and replacing the strings.
Thanks, but this is not what I proposed. Having each filter hard-coded in the source is a bad idea! Can you just make one generic filter-inserter class which takes the filter source from share/filters/filters.svg, where any user could add his/her own filters without recompiling? Your way bloats the source and makes the entire system very limited. Do you want an avalanche of patches submitted with "hey, add my filter too!"? :)
Even nicer would be if it would load filters from share/filters/*.svg . Then users could share filter sets with each other by just dropping in an extra file. Plus then their additions wouldn't be lost after upgrading to a new version of inkscape.
This goes for other things there in inkscape/share, too, like the patterns and markers.
--bb