Code

* Removing the bitmap files that aren't being used.
authorTed Gould <ted@canonical.com>
Wed, 10 Dec 2008 21:36:50 +0000 (13:36 -0800)
committerTed Gould <ted@canonical.com>
Wed, 10 Dec 2008 21:36:50 +0000 (13:36 -0800)
 * Removing the filter files that haven't been used.
 * Adding a small little script to pull the strings out of the filters.svg
   file and pull them into a header file so that they can be translated.
 * Fix generate_POTFILES.sh so that it warns that it'll probably break
   things
 * Update POTFILES.in so that it matches the files better.
 * Making a bunch of .svg files not executable.
 * Patching the effects code so that the sorting of the menus is correct
   and the first entry is not ignored.

105 files changed:
.bzrignore
generate_POTFILES.sh
po/POTFILES.in
share/extensions/Makefile.am
share/extensions/alphabet_soup/2.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/3.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/6.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/7.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Cblob.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Chook.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Ctail.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Delta.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Eb.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Eserif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Et.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/G.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/IBSerif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/ITSerif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Lb.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Lt.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Ocross.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Oterm.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/P.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Q.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Rblock.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Tb.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Tt.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/U.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Vser.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Xh.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Xne.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Xnw.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Xvb.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/Xvt.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/a.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/abase.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/b.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/bar.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/bar2.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/c.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/cross.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/cserif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/e.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/epsilon.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/f.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/gamma.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/h.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/h2.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/idot.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/j.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/k.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/l.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/lserif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/m.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/n.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/o.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/r.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/s.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/serif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/t.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/tserif.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/v.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/vserl.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/vserr.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/x.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/y.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/yogh.svg [changed mode: 0755->0644]
share/extensions/alphabet_soup/z.svg [changed mode: 0755->0644]
share/filters/Makefile.am
share/filters/README
share/filters/i18n.py [new file with mode: 0755]
share/tutorials/tutorial-basic.it.svg [changed mode: 0755->0644]
share/tutorials/tutorial-elements.svg [changed mode: 0755->0644]
src/Makefile.am
src/dom/Makefile_insert
src/extension/effect.cpp
src/extension/internal/Makefile_insert
src/extension/internal/bitmap/convolve.cpp [deleted file]
src/extension/internal/bitmap/convolve.h [deleted file]
src/extension/internal/filter/apparition.h [deleted file]
src/extension/internal/filter/bloom.h [deleted file]
src/extension/internal/filter/clouds.h [deleted file]
src/extension/internal/filter/crystal.h [deleted file]
src/extension/internal/filter/cutout.h [deleted file]
src/extension/internal/filter/emboss.h [deleted file]
src/extension/internal/filter/etched-glass.h [deleted file]
src/extension/internal/filter/fire.h [deleted file]
src/extension/internal/filter/frost.h [deleted file]
src/extension/internal/filter/ink-bleed.h [deleted file]
src/extension/internal/filter/jelly-bean.h [deleted file]
src/extension/internal/filter/jigsaw-piece.h [deleted file]
src/extension/internal/filter/leopard-fur.h [deleted file]
src/extension/internal/filter/melt.h [deleted file]
src/extension/internal/filter/metal.h [deleted file]
src/extension/internal/filter/motion-blur.h [deleted file]
src/extension/internal/filter/oil-slick.h [deleted file]
src/extension/internal/filter/patterned-glass.h [deleted file]
src/extension/internal/filter/ridged-border.h [deleted file]
src/extension/internal/filter/ripple.h [deleted file]
src/extension/internal/filter/roughen.h [deleted file]
src/extension/internal/filter/rubber-stamp.h [deleted file]
src/extension/internal/filter/sepia.h [deleted file]
src/extension/internal/filter/speckle.h [deleted file]
src/extension/internal/filter/zebra.h [deleted file]
src/helper/Makefile_insert

index 4dc262f495eb94c23beee3da02c876d887f68a9a..d91367581e035bbffef23d98f71169deb47dd113 100644 (file)
@@ -36,3 +36,4 @@ share/templates/Makefile.in
 share/tutorials/Makefile.in
 share/ui/Makefile.in
 src/Makefile.in
+share/filters/filters.svg.h
index adbc667f4062b20fc3a9046614f460329ea4ca80..cff07c8df68fbc2bb4eeaa2b10d4ec05fb3d0a0b 100755 (executable)
@@ -19,6 +19,7 @@ rm -f po/POTFILES.in.new
  echo "# Generated by $prog at `date`"
  echo "[encoding: UTF-8]"
  echo "inkscape.desktop.in"
+ echo "share/filters/filters.svg.h"
 
  find src \( -name '*.cpp' -o -name '*.[ch]' \) -type f -print0 | xargs -0 egrep -l '(\<[QNC]?_|gettext) *\(' | sort
  find share/extensions -name '*.py' -type f -print0 | xargs -0 egrep -l '(\<[QNC]?_|gettext) *\(' | sort
@@ -28,3 +29,6 @@ rm -f po/POTFILES.in.new
 diff -q po/POTFILES.in po/POTFILES.in.new ||:
 mv po/POTFILES.in.new po/POTFILES.in
 echo "Done."
+echo ""
+echo "Now you need to run 'make distcheck' to find all the"
+echo "places that get broken because of this script."
index 5bb45ee496c566e7ec7f5064c4a47c0f0d94b227..5251601271c80218a307976654f614ff002f3752 100644 (file)
@@ -1,8 +1,9 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
-# Generated by ./generate_POTFILES.sh at Fri Sep 19 16:29:15 CEST 2008
+# Generated by ./generate_POTFILES.sh at Wed Dec 10 11:46:42 PST 2008
 [encoding: UTF-8]
 inkscape.desktop.in
+share/filters/filters.svg.h
 src/arc-context.cpp
 src/box3d-context.cpp
 src/box3d.cpp
@@ -51,7 +52,6 @@ src/extension/internal/bitmap/channel.cpp
 src/extension/internal/bitmap/charcoal.cpp
 src/extension/internal/bitmap/colorize.cpp
 src/extension/internal/bitmap/contrast.cpp
-src/extension/internal/bitmap/convolve.cpp
 src/extension/internal/bitmap/cycleColormap.cpp
 src/extension/internal/bitmap/despeckle.cpp
 src/extension/internal/bitmap/edge.cpp
@@ -84,35 +84,10 @@ src/extension/internal/cairo-ps-out.cpp
 src/extension/internal/cairo-renderer-pdf-out.cpp
 src/extension/internal/clear-n_.h
 src/extension/internal/emf-win32-inout.cpp
-src/extension/internal/filter/apparition.h
-src/extension/internal/filter/bloom.h
-src/extension/internal/filter/clouds.h
-src/extension/internal/filter/crystal.h
-src/extension/internal/filter/cutout.h
 src/extension/internal/filter/drop-shadow.h
-src/extension/internal/filter/emboss.h
-src/extension/internal/filter/etched-glass.h
 src/extension/internal/filter/filter.cpp
 src/extension/internal/filter/filter-file.cpp
-src/extension/internal/filter/fire.h
-src/extension/internal/filter/frost.h
-src/extension/internal/filter/ink-bleed.h
-src/extension/internal/filter/jelly-bean.h
-src/extension/internal/filter/jigsaw-piece.h
-src/extension/internal/filter/leopard-fur.h
-src/extension/internal/filter/melt.h
-src/extension/internal/filter/metal.h
-src/extension/internal/filter/motion-blur.h
-src/extension/internal/filter/oil-slick.h
-src/extension/internal/filter/patterned-glass.h
-src/extension/internal/filter/ridged-border.h
-src/extension/internal/filter/ripple.h
-src/extension/internal/filter/roughen.h
-src/extension/internal/filter/rubber-stamp.h
-src/extension/internal/filter/sepia.h
 src/extension/internal/filter/snow.h
-src/extension/internal/filter/speckle.h
-src/extension/internal/filter/zebra.h
 src/extension/internal/gdkpixbuf-input.cpp
 src/extension/internal/gimpgrad.cpp
 src/extension/internal/grid.cpp
@@ -191,9 +166,7 @@ src/live_effects/lpe-perp_bisector.cpp
 src/live_effects/lpe-perspective_path.cpp
 src/live_effects/lpe-rough-hatches.cpp
 src/live_effects/lpe-ruler.cpp
-src/live_effects/lpe-skeleton.cpp
 src/live_effects/lpe-sketch.cpp
-src/live_effects/lpe-spiro.cpp
 src/live_effects/lpe-tangent_to_curve.cpp
 src/live_effects/lpe-test-doEffect-stack.cpp
 src/live_effects/lpe-text_label.cpp
@@ -206,6 +179,7 @@ src/live_effects/parameter/point.cpp
 src/live_effects/parameter/random.cpp
 src/live_effects/parameter/text.cpp
 src/live_effects/parameter/unit.cpp
+src/live_effects/parameter/vector.cpp
 src/lpe-tool-context.cpp
 src/main-cmdlineact.cpp
 src/main.cpp
@@ -277,14 +251,10 @@ src/ui/dialog/messages.cpp
 src/ui/dialog/ocaldialogs.cpp
 src/ui/dialog/print.cpp
 src/ui/dialog/scriptdialog.cpp
-src/ui/dialog/session-player.cpp
 src/ui/dialog/svg-fonts-dialog.cpp
 src/ui/dialog/tile.cpp
 src/ui/dialog/tracedialog.cpp
 src/ui/dialog/transformation.cpp
-src/ui/dialog/whiteboard-connect.cpp
-src/ui/dialog/whiteboard-sharewithchat.cpp
-src/ui/dialog/whiteboard-sharewithuser.cpp
 src/ui/stock-items.cpp
 src/ui/view/edit-widget.cpp
 src/ui/widget/combo-enums.h
@@ -324,9 +294,11 @@ src/widgets/sp-xmlview-attr-list.cpp
 src/widgets/sp-xmlview-content.cpp
 src/widgets/toolbox.cpp
 share/extensions/dimension.py
+share/extensions/dxf_outlines.py
 share/extensions/embedimage.py
 share/extensions/export_gimp_palette.py
 share/extensions/extractimage.py
+share/extensions/guides_creator.py
 share/extensions/inkex.py
 share/extensions/markers_strokepaint.py
 share/extensions/pathalongpath.py
@@ -366,7 +338,6 @@ share/extensions/svg_and_media_zip_output.py
 [type: gettext/xml] share/extensions/dia.inx
 [type: gettext/xml] share/extensions/dimension.inx
 [type: gettext/xml] share/extensions/dots.inx
-[type: gettext/xml] share/extensions/draw_from_triangle.inx
 [type: gettext/xml] share/extensions/dxf_input.inx
 [type: gettext/xml] share/extensions/dxf_outlines.inx
 [type: gettext/xml] share/extensions/dxf_output.inx
index 57f9a08fadf67060e744a79cf733862dd9bf2b75..f34a98265d63c8cd6c145cd07a33d7cc1797f170 100644 (file)
@@ -236,7 +236,6 @@ module_DATA = \
        $(modules)
 
 EXTRA_DIST = \
-       radiobutton_example.inx \
        $(extension_SCRIPTS) $(otherstuff_DATA) $(module_DATA)
 
 
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 8da20a47f51a1ea7df78904973f155fdbbe20ad4..1a871a99227fab0eaa359368a5cf4847697b5021 100644 (file)
@@ -3,6 +3,11 @@ filtersdir = $(datadir)/inkscape/filters
 
 filters_DATA =  \
        README \
-       filters.svg 
+       filters.svg \
+       filters.svg.h
 
-EXTRA_DIST = $(filters_DATA)
+filters.svg.h: filters.svg i18n.py
+       $(srcdir)/i18n.py $(srcdir)/filters.svg > $(srcdir)/filters.svg.h
+
+EXTRA_DIST = $(filters_DATA) \
+             i18n.py
index 727f080a69e312dc5b939c3639193ed73bebcb1a..ac45826b88037697a825cf56303c87b5e573b24d 100644 (file)
@@ -8,5 +8,7 @@ inkscape:label is the name in the menu
 inkscape:menu  is the submenu under Effects > Filters
 inkscape:menu-tooltip is the menu command's tooltip in the statusbar
 
-
+These are then put into filters.svg.h in order to make them translatable.
+They should appear as a normal translation to translaters through the
+gettext system.
 
diff --git a/share/filters/i18n.py b/share/filters/i18n.py
new file mode 100755 (executable)
index 0000000..04a2ad7
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+from xml.dom import minidom
+import sys
+
+doc = minidom.parse(sys.argv[1])
+
+filters = doc.getElementsByTagName('filter')
+
+print "char * stringlst = ["
+
+for filter in filters:
+       label = filter.getAttribute('inkscape:label')
+       menu = filter.getAttribute('inkscape:menu')
+       desc = filter.getAttribute('inkscape:menu-tooltip')
+
+       print "N_(\"" + label + "\"), N_(\"" + menu + "\"), N_(\"" + desc + "\"),"
+
+print "];"
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 7272c78883f0223511f4e9caf9c104e7bf3a6ffa..842c3eb4514bcf1dc16bb2fd451f4d1eed8efebb 100644 (file)
@@ -135,14 +135,13 @@ DISTCLEANFILES =  \
 
 # Extra files not mentioned as sources to include in the source tarball
 EXTRA_DIST =   \
-       Doxyfile        \
+       $(top_srcdir)/Doxyfile  \
        sp-skeleton.cpp sp-skeleton.h   \
        algorithms/makefile.in  \
        application/makefile.in \
        bind/makefile.in        \
        debug/makefile.in       \
        dialogs/makefile.in     \
-       dialogs/filedialog-win32.cpp    \
        display/makefile.in     \
        dom/makefile.in         \
        extension/implementation/makefile.in    \
index 730ad798a3de0dee218d617d787969b87a80e034..28edddcfad6f49c6f22d457dfed0ba07f50ba3c0 100644 (file)
@@ -10,13 +10,12 @@ dom_libdom_a_SOURCES =       \
        dom/cssreader.cpp        \
        dom/cssreader.h          \
        dom/dom.h                \
-    dom/domconfig.h          \
        dom/domimpl.cpp          \
        dom/domimpl.h            \
     dom/domptr.cpp           \
+    dom/domptr.h             \
     dom/domstring.cpp        \
     dom/domstring.h          \
-    dom/domstringimpl.h      \
     dom/events.h             \
     dom/ls.h                 \
     dom/lsimpl.cpp           \
@@ -28,6 +27,7 @@ dom_libdom_a_SOURCES =       \
     dom/smilimpl.cpp         \
     dom/smilimpl.h           \
        dom/stylesheets.h        \
+       dom/svg2.h               \
        dom/svg.h                \
        dom/svgimpl.cpp          \
        dom/svgimpl.h            \
@@ -40,6 +40,7 @@ dom_libdom_a_SOURCES =       \
        dom/uri.cpp              \
        dom/uri.h                \
        dom/views.h              \
+       dom/views-level3.h       \
        dom/xmlreader.cpp        \
        dom/xmlreader.h          \
        dom/xpath.h              \
index e6b1bf60be0c5d0f791c76f6fd74a67127e96af1..5abcdbf7997424166f85ea8aa8d65582811ae90a 100644 (file)
@@ -135,12 +135,13 @@ Effect::merge_menu (Inkscape::XML::Node * base,
 
     if (start != NULL) {
         Inkscape::XML::Node * menupass;
-        for (menupass = start->next(); menupass != NULL; menupass = menupass->next()) {
+        for (menupass = start; menupass != NULL; menupass = menupass->next()) {
             gchar const * compare_char = NULL;
             if (!strcmp(menupass->name(), "verb")) {
                 gchar const * verbid = menupass->attribute("verb-id");
                 Inkscape::Verb * verb = Inkscape::Verb::getbyid(verbid);
                 if (verb == NULL) {
+                                       g_warning("Unable to find verb '%s' which is referred to in the menus.", verbid);
                     continue;
                 }
                 compare_char = verb->get_name();
index ee431ee48ad0b5319bb480d25e72fce618b26f5a..6620a1228fafc7e4c2243c3c511ed46e89155b06 100644 (file)
@@ -134,6 +134,8 @@ extension_internal_libinternal_a_SOURCES =  \
        extension/internal/filter/filter-file.cpp \
        extension/internal/filter/filter.cpp \
        extension/internal/filter/filter.h \
+       extension/internal/filter/drop-shadow.h \
+       extension/internal/filter/snow.h \
        extension/internal/win32.h \
        extension/internal/win32.cpp \
        extension/internal/emf-win32-print.h \
diff --git a/src/extension/internal/bitmap/convolve.cpp b/src/extension/internal/bitmap/convolve.cpp
deleted file mode 100644 (file)
index 2a27fc1..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (C) 2007 Authors:
- *   Christopher Brown <audiere@gmail.com>
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include "extension/effect.h"
-#include "extension/system.h"
-
-#include "convolve.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Bitmap {
-       
-void
-Convolve::applyEffect(Magick::Image *image) {
-       image->convolve(_order, _kernel);
-}
-
-void
-Convolve::refreshParameters(Inkscape::Extension::Effect *module) {
-       _order = module->get_param_int("order");
-       if (_order % 2 == 0) _order--;
-       _kernel = new double[_order];
-       int i = 0;
-       
-       char *arrayStr = g_strdup(module->get_param_string("kernel"));
-       
-       char *num = strtok(arrayStr, ",");
-       while (num != NULL)
-       {
-               _kernel[i++] = atof(num);
-               
-               num = strtok(NULL, ",");
-       }
-}
-
-#include "../clear-n_.h"
-
-void
-Convolve::init(void)
-{
-       Inkscape::Extension::build_from_mem(
-               "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
-// TRANSLATORS: see http://docs.gimp.org/en/gimp-tool-convolve.html
-                       "<name>" N_("Convolve") "</name>\n"
-                       "<id>org.inkscape.effect.bitmap.convolve</id>\n"
-                       "<param name=\"order\" gui-text=\"" N_("Order") "\" type=\"int\" min=\"0\" max=\"64\">4</param>\n"
-                       "<param name=\"kernel\" gui-text=\"" N_("Kernel Array") "\" type=\"string\" >1,1,0,0</param>\n"
-                       "<effect>\n"
-                               "<object-type>all</object-type>\n"
-                               "<effects-menu>\n"
-                                       "<submenu name=\"" N_("Raster") "\" />\n"
-                               "</effects-menu>\n"
-                               "<menu-tip>" N_("Apply Convolve Effect") "</menu-tip>\n"
-                       "</effect>\n"
-               "</inkscape-extension>\n", new Convolve());
-}
-
-}; /* namespace Bitmap */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
diff --git a/src/extension/internal/bitmap/convolve.h b/src/extension/internal/bitmap/convolve.h
deleted file mode 100644 (file)
index 3cfdc7f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2007 Authors:
- *   Christopher Brown <audiere@gmail.com>
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include "imagemagick.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Bitmap {
-
-class Convolve : public ImageMagick {
-private:
-       int _order;
-       double* _kernel;
-public:
-    void applyEffect(Magick::Image *image);
-       void refreshParameters(Inkscape::Extension::Effect *module);
-    static void init (void);
-};
-
-}; /* namespace Bitmap */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
diff --git a/src/extension/internal/filter/apparition.h b/src/extension/internal/filter/apparition.h
deleted file mode 100644 (file)
index b6f00ad..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__
-/* Change the 'APPARITION' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Apparition : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("apparition",     /* ID -- should be unique */
-                           N_("Apparition"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("I'm not sure what this word means"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feMorphology result=\"result0\" in=\"SourceGraphic\" radius=\"4\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"9.2439050131926113\" in=\"result0\"/>\n"
-                        "<feComposite in=\"SourceGraphic\" operator=\"in\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'APPARITION' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__ */
diff --git a/src/extension/internal/filter/bloom.h b/src/extension/internal/filter/bloom.h
deleted file mode 100644 (file)
index f161edf..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_BLOOM_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_BLOOM_H__
-/* Change the 'BLOOM' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Bloom : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("bloom",     /* ID -- should be unique */
-                           N_("Bloom"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Not sure, nobody tell me these things"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"2.1526428571428569\" in=\"SourceAlpha\" result=\"result1\"/>\n"
-                        "<feSpecularLighting surfaceScale=\"5\" specularConstant=\"2\" specularExponent=\"18.063876651982376\" result=\"result0\">\n"
-                          "<feDistantLight elevation=\"24\" azimuth=\"225\"/>\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\" result=\"result6\"/>\n"
-                        "<feMorphology operator=\"dilate\" radius=\"5.7142857142857144\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"5.7237142857142853\" result=\"result11\"/>\n"
-                        "<feDiffuseLighting in=\"result1\" diffuseConstant=\"2.0099999999999998\" result=\"result3\" surfaceScale=\"5\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"25\"/>\n"
-                        "</feDiffuseLighting>\n"
-                        "<feBlend blend=\"normal\" in2=\"SourceGraphic\" in=\"result3\" mode=\"multiply\" result=\"result7\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\" in=\"result7\"/>\n"
-                        "<feBlend blend=\"normal\" in=\"result6\" mode=\"lighten\" result=\"result9\"/>\n"
-                        "<feComposite in=\"result11\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'BLOOM' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_BLOOM_H__ */
diff --git a/src/extension/internal/filter/clouds.h b/src/extension/internal/filter/clouds.h
deleted file mode 100644 (file)
index a057dd6..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__
-/* Change the 'CLOUDS' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Clouds : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("clouds",     /* ID -- should be unique */
-                           N_("Clouds"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Yes, more descriptions"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence type=\"fractalNoise\" baseFrequency=\"0.040293040293040296 0.10695970695970697\" numOctaves=\"3\"/>\n"
-                        "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 5 -2.7\" result=\"result0\"/>\n"
-                        "<feFlood flood-color=\"rgb(255,255,255)\" flood-opacity=\"1\"/>\n"
-                        "<feComposite in2=\"result0\" operator=\"in\"/>\n"
-                        "<feComposite in2=\"SourceGraphic\" operator=\"atop\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'CLOUDS' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__ */
diff --git a/src/extension/internal/filter/crystal.h b/src/extension/internal/filter/crystal.h
deleted file mode 100644 (file)
index 05922a2..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_CRYSTAL_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_CRYSTAL_H__
-/* Change the 'CRYSTAL' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Crystal : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("crystal",     /* ID -- should be unique */
-                           N_("Crystal"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist, insert data here"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feBlend mode=\"multiply\" in2=\"BackgroundImage\" blend=\"normal\" in=\"SourceGraphic\" result=\"result0\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"3.7133333333333329\" in=\"SourceAlpha\" result=\"result1\"/>\n"
-                        "<feSpecularLighting specularExponent=\"128\" specularConstant=\"1.7636684303350969\" surfaceScale=\"3\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"45\"/>\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\" result=\"result3\"/>\n"
-                        "<feSpecularLighting in=\"result1\" specularExponent=\"128\" specularConstant=\"3.5273368606701938\" surfaceScale=\"-5\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"32\"/>\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\" result=\"result2\"/>\n"
-                        "<feMerge>\n"
-                          "<feMergeNode inkscape:collect=\"always\" in=\"result0\"/>\n"
-                          "<feMergeNode inkscape:collect=\"always\" in=\"result3\"/>\n"
-                          "<feMergeNode inkscape:collect=\"always\" in=\"result2\"/>\n"
-                        "</feMerge>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'CRYSTAL' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_CRYSTAL_H__ */
diff --git a/src/extension/internal/filter/cutout.h b/src/extension/internal/filter/cutout.h
deleted file mode 100644 (file)
index 897692d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_CUTOUT_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_CUTOUT_H__
-/* Change the 'CUTOUT' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Cutout : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("cutout",     /* ID -- should be unique */
-                           N_("Cutout"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist text"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"4.2312137203166218\" in=\"SourceAlpha\"/>\n"
-                        "<feOffset dx=\"5\" dy=\"5\" />\n"
-                        "<feComposite in=\"SourceGraphic\" operator=\"out\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'CUTOUT' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_CUTOUT_H__ */
diff --git a/src/extension/internal/filter/emboss.h b/src/extension/internal/filter/emboss.h
deleted file mode 100644 (file)
index ec47224..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_EMBOSS_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_EMBOSS_H__
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *   Filter designed by Chrisdesign (http://chrisdesign.wordpress.com/filter-effects/)
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Emboss : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("emboss",     /* ID -- should be unique */
-                           N_("Emboss"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Emboss effect"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur result=\"result0\" in=\"SourceAlpha\" stdDeviation=\"1.01\" />\n"
-                        "<feOffset stdDeviation=\"0.40000000000000002\" result=\"result3\" in=\"result0\" dy=\"2\" dx=\"2\" />\n"
-                        "<feSpecularLighting specularExponent=\"35\" specularConstant=\"1.05\" surfaceScale=\"0.75\" lighting-color=\"rgb(217,217,217)\" result=\"result1\" in=\"result0\">\n"
-                        "<fePointLight z=\"20000\" y=\"-10000\" x=\"-5000\" />\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite operator=\"in\" result=\"result2\" in=\"result1\" in2=\"SourceAlpha\" />\n"
-                        "<feComposite k3=\"0.99999999999999989\" k2=\"0.99999999999999989\" operator=\"arithmetic\" result=\"result4\" in=\"SourceGraphic\" />\n"
-                        "<feMerge><feMergeNode in=\"result3\" />\n"
-                        "<feMergeNode in=\"result4\" />\n"
-                        "</feMerge>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_EMBOSS_H__ */
diff --git a/src/extension/internal/filter/etched-glass.h b/src/extension/internal/filter/etched-glass.h
deleted file mode 100644 (file)
index a288042..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__
-/* Change the 'ETCHED_GLASS' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class EtchedGlass : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("etched-glass",     /* ID -- should be unique */
-                           N_("Etched Glass"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist text"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"6.3056666666666654\" in=\"BackgroundImage\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\"/>\n"
-                        "<feBlend blend=\"normal\" in2=\"SourceGraphic\" mode=\"multiply\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'ETCHED_GLASS' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__ */
diff --git a/src/extension/internal/filter/fire.h b/src/extension/internal/filter/fire.h
deleted file mode 100644 (file)
index 7816f19..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_FIRE_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_FIRE_H__
-/* Change the 'FIRE' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Fire : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("fire",     /* ID -- should be unique */
-                           N_("Fire"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist on fire"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter x=\"-0.080000000000000029\" height=\"1.3900000000000001\" width=\"1.21\" y=\"-0.22000000000000008\">\n"
-                        "<feMorphology operator=\"dilate\" radius=\"2.4128686327077746\" result=\"result1\"/>\n"
-                        "<feTurbulence numOctaves=\"1\" baseFrequency=\"0.0900804289544236 0.027882037533512066\"/>\n"
-                        "<feColorMatrix values=\"2 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 0\" result=\"result2\" type=\"matrix\"/>\n"
-                        "<feDisplacementMap in=\"result1\" xChannelSelector=\"R\" yChannelSelector=\"G\" scale=\"10.319410319410318\" result=\"result4\"/>\n"
-                        "<feFlood flood-color=\"rgb(255,159,54)\" flood-opacity=\"1\" result=\"result3\"/>\n"
-                        "<feMorphology in=\"result4\" result=\"result7\" radius=\"3.755868544600939\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"2.3571830985915487\" in=\"result7\" result=\"result7\"/>\n"
-                        "<feComposite operator=\"in\" in=\"result3\" in2=\"result4\" result=\"result5\"/>\n"
-                        "<feComposite in2=\"result7\" operator=\"out\"/>\n"
-                        "<feOffset dx=\"-4.5\" dy=\"-7\" result=\"result6\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"4.8352546916890073\" result=\"result7\"/>\n"
-                        "<feComposite in2=\"result6\" in=\"SourceGraphic\"/>\n"
-                        "<feComposite in2=\"result7\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'FIRE' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_FIRE_H__ */
diff --git a/src/extension/internal/filter/frost.h b/src/extension/internal/filter/frost.h
deleted file mode 100644 (file)
index 9c5dcb2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_FROST_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_FROST_H__
-/* Change the 'FROST' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Frost : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("frost",     /* ID -- should be unique */
-                           N_("Frost"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist text"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence baseFrequency=\"0.14299516908212559\" numOctaves=\"5\" type=\"fractalNoise\" />\n"
-                        "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 5 -3\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\"/>\n"
-                        "<feMorphology result=\"result3\" radius=\"2.6570048309178742\" operator=\"dilate\" />\n"
-                        "<feTurbulence baseFrequency=\"0.12077294685990339\" numOctaves=\"2\" />\n"
-                        "<feDisplacementMap result=\"result4\" scale=\"10.044642857142858\" yChannelSelector=\"A\" xChannelSelector=\"R\" in=\"result3\" />\n"
-                        "<feFlood flood-color=\"rgb(255,255,255)\" flood-opacity=\"1\"/>\n"
-                        "<feComposite in2=\"result4\" operator=\"in\" result=\"result2\"/>\n"
-                        "<feComposite in2=\"SourceGraphic\" operator=\"over\" in=\"result2\" />\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'FROST' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_FROST_H__ */
diff --git a/src/extension/internal/filter/ink-bleed.h b/src/extension/internal/filter/ink-bleed.h
deleted file mode 100644 (file)
index 6168b38..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_INK_BLEED_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_INK_BLEED_H__
-/* Change the 'INK_BLEED' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class InkBleed : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("ink-bleed",     /* ID -- should be unique */
-                           N_("InkBleed"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist Text"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"1.3291292875989447\" in=\"SourceGraphic\" result=\"result1\"/>\n"
-                        "<feTurbulence baseFrequency=\"0.033773087071240104\" numOctaves=\"4\" result=\"result0\"/>\n"
-                        "<feDisplacementMap in2=\"result0\" in=\"result1\" xChannelSelector=\"R\" yChannelSelector=\"G\" scale=\"19.612590799031477\" result=\"result2\"/>\n"
-                        "<feColorMatrix result=\"result3\" values=\"2 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 0 0 0.7 0\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"1.0653034300791555\" in=\"SourceGraphic\" result=\"result4\"/>\n"
-                        "<feComposite in2=\"result3\" in=\"result4\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'INK_BLEED' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_INK_BLEED_H__ */
diff --git a/src/extension/internal/filter/jelly-bean.h b/src/extension/internal/filter/jelly-bean.h
deleted file mode 100644 (file)
index d063ac9..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_JELLY_BEAN_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_JELLY_BEAN_H__
-/* Change the 'JELLY_BEAN' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class JellyBean : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("jelly-bean",     /* ID -- should be unique */
-                           N_("Jelly Bean"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Mmmm, yummy."),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feColorMatrix in=\"SourceGraphic\" result=\"result0\" values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.85 0\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"7.0222857142857134\" in=\"SourceAlpha\"/>\n"
-                        "<feSpecularLighting specularExponent=\"7.971360381861575\" specularConstant=\"0.80000000000000004\" surfaceScale=\"10\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"17\"/>\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite in2=\"result0\" operator=\"atop\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'JELLY_BEAN' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_JELLY_BEAN_H__ */
diff --git a/src/extension/internal/filter/jigsaw-piece.h b/src/extension/internal/filter/jigsaw-piece.h
deleted file mode 100644 (file)
index 654c1e0..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_JIGSAW_PIECE_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_JIGSAW_PIECE_H__
-/* Change the 'JIGSAW_PIECE' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class JigsawPiece : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("jigsaw-piece",     /* ID -- should be unique */
-                           N_("JigsawPiece"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("It's a puzzle, no hints"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feSpecularLighting specularExponent=\"18.527845036319611\" specularConstant=\"2\" surfaceScale=\"1\" in=\"SourceAlpha\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"30\"/>\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite in2=\"SourceGraphic\" operator=\"atop\" result=\"result0\"/>\n"
-                        "<feMorphology operator=\"dilate\" in=\"SourceAlpha\" result=\"result1\" radius=\"2\"/>\n"
-                        "<feComposite in2=\"result1\" in=\"result0\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'JIGSAW_PIECE' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_JIGSAW_PIECE_H__ */
diff --git a/src/extension/internal/filter/leopard-fur.h b/src/extension/internal/filter/leopard-fur.h
deleted file mode 100644 (file)
index 7e160c0..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_LEOPARD_FUR_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_LEOPARD_FUR_H__
-/* Change the 'LEOPARD_FUR' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class LeopardFur : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("leopard-fur",     /* ID -- should be unique */
-                           N_("Leopard Fur"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Purrrr, quiet the kitty is sleeping"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence baseFrequency=\"0.14299516908212559\" numOctaves=\"5\" type=\"fractalNoise\"/>\n"
-                        "<feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 -3.45\"/>\n"
-                        "<feComposite result=\"result3\" in2=\"SourceAlpha\" operator=\"in\"/>\n"
-                        "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 6 0\"/>\n"
-                        "<feMorphology result=\"result3\" radius=\"1.8181818181818181\" operator=\"dilate\"/>\n"
-                        "<feGaussianBlur result=\"result3\" stdDeviation=\"1\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"2.7287613293051356\"/>\n"
-                        "<feComposite in2=\"result3\" result=\"result1\" operator=\"out\"/>\n"
-                        "<feColorMatrix result=\"result3\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 0\"/>\n"
-                        "<feFlood result=\"result2\" flood-opacity=\"1\" flood-color=\"rgb(209,151,45)\" />\n"
-                        "<feComposite operator=\"in\" in=\"result2\" in2=\"SourceGraphic\" />\n"
-                        "<feComposite in=\"result3\" result=\"result3\" operator=\"atop\" />\n"
-                        "<feGaussianBlur stdDeviation=\"7.1521428571428558\" in=\"SourceAlpha\"/>\n"
-                        "<feDiffuseLighting diffuseConstant=\"1.9197207678883073\" surfaceScale=\"10.600706713780937\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"48\"/>\n"
-                        "</feDiffuseLighting>\n"
-                        "<feBlend blend=\"normal\" in2=\"result3\" mode=\"multiply\" result=\"result3\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\" result=\"result3\"/>\n"
-                        "<feTurbulence baseFrequency=\"0.10577777777777778\" numOctaves=\"3\" />\n"
-                        "<feDisplacementMap scale=\"4.5454545454545459\" yChannelSelector=\"G\" xChannelSelector=\"R\" in=\"result3\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'LEOPARD_FUR' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_LEOPARD_FUR_H__ */
diff --git a/src/extension/internal/filter/melt.h b/src/extension/internal/filter/melt.h
deleted file mode 100644 (file)
index d6372c1..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_MELT_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_MELT_H__
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *   Filter designed by Chrisdesign (http://chrisdesign.wordpress.com/filter-effects/)
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Melt : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("melt",     /* ID -- should be unique */
-                           N_("Melt"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Melt effect"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"10\" in=\"SourceGraphic\" result=\"result0\" />\n"
-                        "<feTurbulence result=\"result1\" numOctaves=\"8\" seed=\"488\" baseFrequency=\"0.012000000000000004\" />\n"
-                        "<feComposite in=\"result0\" in2=\"result1\" operator=\"in\" result=\"result2\" />\n"
-                        "<feSpecularLighting in=\"result2\" specularExponent=\"100.40000000000001\" specularConstant=\"3.9400000000000004\" result=\"result4\">\n"
-                        "<feDistantLight azimuth=\"225\" elevation=\"62\" />\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite operator=\"atop\" in=\"result4\" in2=\"result2\" />\n"
-                        "<feConvolveMatrix order=\"5 5\" kernelMatrix=\"0 0 0 0 0 0 0 -1 0 0 0 -1 5 -1 0 0 0 -1 0 0 0 0 0 0 1\" />\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_MELT_H__ */
diff --git a/src/extension/internal/filter/metal.h b/src/extension/internal/filter/metal.h
deleted file mode 100644 (file)
index b0d41a1..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_METAL_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_METAL_H__
-/* Change the 'METAL' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Metal : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("metal",     /* ID -- should be unique */
-                           N_("Metal"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Iron Man vector objects"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feColorMatrix result=\"result1\" in=\"SourceGraphic\" type=\"saturate\" values=\"0.369458\"/>\n"
-                        "<feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"7.0222857142857134\"/>\n"
-                        "<feSpecularLighting surfaceScale=\"10\" specularConstant=\"3.8834951456310676\" specularExponent=\"7.971360381861575\">\n"
-                          "<feDistantLight elevation=\"17\" azimuth=\"225\" />\n"
-                        "</feSpecularLighting>\n"
-                        "<feComposite operator=\"atop\" in2=\"result1\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'METAL' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_METAL_H__ */
diff --git a/src/extension/internal/filter/motion-blur.h b/src/extension/internal/filter/motion-blur.h
deleted file mode 100644 (file)
index 85a5df4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_MOTION_BLUR_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_MOTION_BLUR_H__
-/* Change the 'MOTION_BLUR' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class MotionBlur : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("motion-blur",     /* ID -- should be unique */
-                           N_("Motion Blur"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Hmm, fast vectors"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feGaussianBlur stdDeviation=\"5 0.01\" in=\"SourceGraphic\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'MOTION_BLUR' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_MOTION_BLUR_H__ */
diff --git a/src/extension/internal/filter/oil-slick.h b/src/extension/internal/filter/oil-slick.h
deleted file mode 100644 (file)
index cc24aca..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_OIL_SLICK_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_OIL_SLICK_H__
-/* Change the 'OIL_SLICK' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class OilSlick : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("oil-slick",     /* ID -- should be unique */
-                           N_("OilSlick"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Ooops!  Slippery!"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence type=\"fractalNoise\" numOctaves=\"5\" baseFrequency=\"0.14299516908212559\"/>\n"
-                        "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 5 -3\"/>\n"
-                        "<feMorphology operator=\"dilate\" radius=\"2.6570048309178742\" result=\"result3\"/>\n"
-                        "<feTurbulence numOctaves=\"2\" baseFrequency=\"0.12077294685990339\"/>\n"
-                        "<feDisplacementMap in=\"result3\" xChannelSelector=\"R\" yChannelSelector=\"A\" scale=\"18.526785714285715\" result=\"result4\"/>\n"
-                        "<feComposite in=\"result4\" operator=\"atop\" in2=\"SourceGraphic\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'OIL_SLICK' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_OIL_SLICK_H__ */
diff --git a/src/extension/internal/filter/patterned-glass.h b/src/extension/internal/filter/patterned-glass.h
deleted file mode 100644 (file)
index 0ded94a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_PATTERNED_GLASS_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_PATTERNED_GLASS_H__
-/* Change the 'PATTERNED_GLASS' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class PatternedGlass : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("patterned-glass",     /* ID -- should be unique */
-                           N_("PatternedGlass"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Doesn't work, bug"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence numOctaves=\"1\" baseFrequency=\"0.10861423220973783\"/>\n"
-                        "<feDisplacementMap in=\"BackgroundImage\" xChannelSelector=\"R\" yChannelSelector=\"G\" scale=\"11.795774647887324\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\"/>\n"
-                        "<feBlend blend=\"normal\" in=\"SourceGraphic\" mode=\"multiply\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'PATTERNED_GLASS' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_PATTERNED_GLASS_H__ */
diff --git a/src/extension/internal/filter/ridged-border.h b/src/extension/internal/filter/ridged-border.h
deleted file mode 100644 (file)
index 855f36b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIDGED_BORDER_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIDGED_BORDER_H__
-/* Change the 'RIDGED_BORDER' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class RidgedBorder : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("ridged-border",     /* ID -- should be unique */
-                           N_("Ridged Border"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Artist text"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feMorphology in=\"SourceAlpha\" radius=\"4.2857142857142856\"/>\n"
-                        "<feComposite in=\"SourceGraphic\" operator=\"out\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"1.2003571428571427\" result=\"result0\"/>\n"
-                        "<feDiffuseLighting diffuseConstant=\"1\">\n"
-                          "<feDistantLight azimuth=\"225\" elevation=\"66\"/>\n"
-                        "</feDiffuseLighting>\n"
-                        "<feBlend blend=\"normal\" in2=\"SourceGraphic\" mode=\"multiply\"/>\n"
-                        "<feComposite in2=\"SourceAlpha\" operator=\"in\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'RIDGED_BORDER' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIDGED_BORDER_H__ */
diff --git a/src/extension/internal/filter/ripple.h b/src/extension/internal/filter/ripple.h
deleted file mode 100644 (file)
index 39bef1e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIPPLE_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIPPLE_H__
-/* Change the 'RIPPLE' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Ripple : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("ripple",     /* ID -- should be unique */
-                           N_("Ripple"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("You're 80% water"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence baseFrequency=\"0.001904761904761905 0.10666666666666667\" numOctaves=\"1\"/>\n"
-                        "<feColorMatrix values=\"2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0.5\"/>\n"
-                        "<feDisplacementMap in=\"SourceGraphic\" scale=\"14.317180616740089\" xChannelSelector=\"R\" yChannelSelector=\"A\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'RIPPLE' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_RIPPLE_H__ */
diff --git a/src/extension/internal/filter/roughen.h b/src/extension/internal/filter/roughen.h
deleted file mode 100644 (file)
index 421c2e6..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_ROUGHEN_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_ROUGHEN_H__
-/* Change the 'ROUGHEN' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Roughen : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("roughen",     /* ID -- should be unique */
-                           N_("Roughen"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Like Brad Pitt's stubble"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                       "<feTurbulence baseFrequency=\"0.040000000000000001\" in=\"SourceAlpha\" type=\"turbulence\" seed=\"0\" numOctaves=\"3\"/>\n"
-                       "<feDisplacementMap in=\"SourceGraphic\" xChannelSelector=\"R\" yChannelSelector=\"G\" scale=\"6.6339066339066335\" numOctaves=\"2\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'ROUGHEN' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_ROUGHEN_H__ */
diff --git a/src/extension/internal/filter/rubber-stamp.h b/src/extension/internal/filter/rubber-stamp.h
deleted file mode 100644 (file)
index 429beb6..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_RUBBER_STAMP_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_RUBBER_STAMP_H__
-/* Change the 'RUBBER_STAMP' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class RubberStamp : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("rubber-stamp",     /* ID -- should be unique */
-                           N_("RubberStamp"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Use this to forge your passport"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feTurbulence type=\"fractalNoise\" numOctaves=\"4\" baseFrequency=\"0.064033264033264037\" in=\"SourceGraphic\" result=\"result1\"/>\n"
-                        "<feGaussianBlur stdDeviation=\"4.8612668463611852\" in=\"SourceAlpha\"/>\n"
-                        "<feComposite in=\"SourceAlpha\" operator=\"out\"/>\n"
-                        "<feComposite in2=\"result1\"/>\n"
-                        "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 20 -9\" numOctaves=\"3\" result=\"result1\"/>\n"
-                        "<feComposite in=\"SourceGraphic\" operator=\"in\" result=\"result1\"/>\n"
-                        "<feTurbulence numOctaves=\"1\" baseFrequency=\"0.03231597845601436\"/>\n"
-                        "<feDisplacementMap in=\"result1\" xChannelSelector=\"R\" yChannelSelector=\"G\" scale=\"4.0609137055837561\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'RUBBER_STAMP' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_RUBBER_STAMP_H__ */
diff --git a/src/extension/internal/filter/sepia.h b/src/extension/internal/filter/sepia.h
deleted file mode 100644 (file)
index 1472bb5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_SEPIA_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_SEPIA_H__
-/* Change the 'SEPIA' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Sepia : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("sepia",     /* ID -- should be unique */
-                           N_("Sepia"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Turn all the colors to be sepia tones"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                                           "<feColorMatrix values=\"0.14 0.45 0.05 0 0 0.12 0.39 0.04 0 0 0.08 0.28 0.03 0 0 0 0 0 1 0\" />\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'SEPIA' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_SEPIA_H__ */
diff --git a/src/extension/internal/filter/speckle.h b/src/extension/internal/filter/speckle.h
deleted file mode 100644 (file)
index b0a9733..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_SPECKLE_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_SPECKLE_H__
-/* Change the 'SPECKLE' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Speckle : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("speckle",     /* ID -- should be unique */
-                           N_("Speckle"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("You look cute with speckles"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                       "<feTurbulence type=\"fractalNoise\" baseFrequency=\"0.20952380952380956\" numOctaves=\"1\" result=\"result1\"/>\n"
-                       "<feColorMatrix type=\"luminanceToAlpha\" in=\"SourceGraphic\" result=\"result0\"/>\n"
-                       "<feColorMatrix result=\"result2\" values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.8 0\"/>\n"
-                       "<feComposite in2=\"result2\" operator=\"over\" in=\"result1\"/>\n"
-                       "<feColorMatrix values=\"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 20 -14\"/>\n"
-                       "<feComposite in=\"SourceGraphic\" operator=\"out\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'SPECKLE' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_SPECKLE_H__ */
diff --git a/src/extension/internal/filter/zebra.h b/src/extension/internal/filter/zebra.h
deleted file mode 100644 (file)
index 0292808..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_ZEBRA_H__
-#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_ZEBRA_H__
-/* Change the 'ZEBRA' above to be your file name */
-
-/*
- * Copyright (C) 2008 Authors:
- *   Ted Gould <ted@gould.cx>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
-
-#include "filter.h"
-
-namespace Inkscape {
-namespace Extension {
-namespace Internal {
-namespace Filter {
-
-class Zebra : public Inkscape::Extension::Internal::Filter::Filter {
-public:
-       static void init (void) {
-               filter_init("zebra",     /* ID -- should be unique */
-                           N_("Zebra Stripes"), /* Name in the menus, should have a N_() around it for translation */
-                           N_("Paint your object with zebra stripes"),
-                                                    /* Menu tooltip to help users understand the name.  Should also have a N_() */
-                                       "<filter>\n"
-                        "<feColorMatrix type=\"matrix\" values=\"0.15 0.3 0.05 0 0.5 0.15 0.3 0.05 0 0.5 0.15 0.3 0.05 0 0.5 0 0 0 1 0\" result=\"result0\"/>\n"
-                        "<feTurbulence numOctaves=\"1\" baseFrequency=\"0.078388278388278387 0.012454212454212455\"/>\n"
-                        "<feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 -0.8\"/>\n"
-                        "<feComposite in2=\"result0\" operator=\"atop\"/>\n"
-                                       "</filter>\n");
-                                                /* The XML of the filter that should be added.  There
-                                                 * should be a <svg:filter> surrounding what you'd like
-                                                 * to be added with this effect. */
-       };
-};
-
-}; /* namespace Filter */
-}; /* namespace Internal */
-}; /* namespace Extension */
-}; /* namespace Inkscape */
-
-/* Change the 'ZEBRA' below to be your file name */
-#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_ZEBRA_H__ */
index 73cc3d5eeb4dca8e5620c640f84e78e055bbcf1d..1801d0ea1a2025365e4bcfa55db957400e4b199d 100644 (file)
@@ -26,6 +26,7 @@ helper_libspchelp_a_SOURCES = \
        helper/helper-forward.h \
        helper/png-write.cpp    \
        helper/png-write.h      \
+       helper/recthull.h       \
        helper/sp-marshal.cpp   \
        helper/sp-marshal.h     \
        helper/stlport.h        \