From: Ted Gould Date: Wed, 10 Dec 2008 21:36:50 +0000 (-0800) Subject: * Removing the bitmap files that aren't being used. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d23d8bdb46351262c779deeee5e8864f111ccacd;p=inkscape.git * Removing the bitmap files that aren't being used. * 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. --- diff --git a/.bzrignore b/.bzrignore index 4dc262f49..d91367581 100644 --- a/.bzrignore +++ b/.bzrignore @@ -36,3 +36,4 @@ share/templates/Makefile.in share/tutorials/Makefile.in share/ui/Makefile.in src/Makefile.in +share/filters/filters.svg.h diff --git a/generate_POTFILES.sh b/generate_POTFILES.sh index adbc667f4..cff07c8df 100755 --- a/generate_POTFILES.sh +++ b/generate_POTFILES.sh @@ -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." diff --git a/po/POTFILES.in b/po/POTFILES.in index 5bb45ee49..525160127 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/share/extensions/Makefile.am b/share/extensions/Makefile.am index 57f9a08fa..f34a98265 100644 --- a/share/extensions/Makefile.am +++ b/share/extensions/Makefile.am @@ -236,7 +236,6 @@ module_DATA = \ $(modules) EXTRA_DIST = \ - radiobutton_example.inx \ $(extension_SCRIPTS) $(otherstuff_DATA) $(module_DATA) diff --git a/share/extensions/alphabet_soup/2.svg b/share/extensions/alphabet_soup/2.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/3.svg b/share/extensions/alphabet_soup/3.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/6.svg b/share/extensions/alphabet_soup/6.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/7.svg b/share/extensions/alphabet_soup/7.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Cblob.svg b/share/extensions/alphabet_soup/Cblob.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Chook.svg b/share/extensions/alphabet_soup/Chook.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Ctail.svg b/share/extensions/alphabet_soup/Ctail.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Delta.svg b/share/extensions/alphabet_soup/Delta.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Eb.svg b/share/extensions/alphabet_soup/Eb.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Eserif.svg b/share/extensions/alphabet_soup/Eserif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Et.svg b/share/extensions/alphabet_soup/Et.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/G.svg b/share/extensions/alphabet_soup/G.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/IBSerif.svg b/share/extensions/alphabet_soup/IBSerif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/ITSerif.svg b/share/extensions/alphabet_soup/ITSerif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Lb.svg b/share/extensions/alphabet_soup/Lb.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Lt.svg b/share/extensions/alphabet_soup/Lt.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Ocross.svg b/share/extensions/alphabet_soup/Ocross.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Oterm.svg b/share/extensions/alphabet_soup/Oterm.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/P.svg b/share/extensions/alphabet_soup/P.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Q.svg b/share/extensions/alphabet_soup/Q.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Rblock.svg b/share/extensions/alphabet_soup/Rblock.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Tb.svg b/share/extensions/alphabet_soup/Tb.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Tt.svg b/share/extensions/alphabet_soup/Tt.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/U.svg b/share/extensions/alphabet_soup/U.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Vser.svg b/share/extensions/alphabet_soup/Vser.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Xh.svg b/share/extensions/alphabet_soup/Xh.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Xne.svg b/share/extensions/alphabet_soup/Xne.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Xnw.svg b/share/extensions/alphabet_soup/Xnw.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Xvb.svg b/share/extensions/alphabet_soup/Xvb.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/Xvt.svg b/share/extensions/alphabet_soup/Xvt.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/a.svg b/share/extensions/alphabet_soup/a.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/abase.svg b/share/extensions/alphabet_soup/abase.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/b.svg b/share/extensions/alphabet_soup/b.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/bar.svg b/share/extensions/alphabet_soup/bar.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/bar2.svg b/share/extensions/alphabet_soup/bar2.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/c.svg b/share/extensions/alphabet_soup/c.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/cross.svg b/share/extensions/alphabet_soup/cross.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/cserif.svg b/share/extensions/alphabet_soup/cserif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/e.svg b/share/extensions/alphabet_soup/e.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/epsilon.svg b/share/extensions/alphabet_soup/epsilon.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/f.svg b/share/extensions/alphabet_soup/f.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/gamma.svg b/share/extensions/alphabet_soup/gamma.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/h.svg b/share/extensions/alphabet_soup/h.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/h2.svg b/share/extensions/alphabet_soup/h2.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/idot.svg b/share/extensions/alphabet_soup/idot.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/j.svg b/share/extensions/alphabet_soup/j.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/k.svg b/share/extensions/alphabet_soup/k.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/l.svg b/share/extensions/alphabet_soup/l.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/lserif.svg b/share/extensions/alphabet_soup/lserif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/m.svg b/share/extensions/alphabet_soup/m.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/n.svg b/share/extensions/alphabet_soup/n.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/o.svg b/share/extensions/alphabet_soup/o.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/r.svg b/share/extensions/alphabet_soup/r.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/s.svg b/share/extensions/alphabet_soup/s.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/serif.svg b/share/extensions/alphabet_soup/serif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/t.svg b/share/extensions/alphabet_soup/t.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/tserif.svg b/share/extensions/alphabet_soup/tserif.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/v.svg b/share/extensions/alphabet_soup/v.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/vserl.svg b/share/extensions/alphabet_soup/vserl.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/vserr.svg b/share/extensions/alphabet_soup/vserr.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/x.svg b/share/extensions/alphabet_soup/x.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/y.svg b/share/extensions/alphabet_soup/y.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/yogh.svg b/share/extensions/alphabet_soup/yogh.svg old mode 100755 new mode 100644 diff --git a/share/extensions/alphabet_soup/z.svg b/share/extensions/alphabet_soup/z.svg old mode 100755 new mode 100644 diff --git a/share/filters/Makefile.am b/share/filters/Makefile.am index 8da20a47f..1a871a992 100644 --- a/share/filters/Makefile.am +++ b/share/filters/Makefile.am @@ -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 diff --git a/share/filters/README b/share/filters/README index 727f080a6..ac45826b8 100644 --- a/share/filters/README +++ b/share/filters/README @@ -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 index 000000000..04a2ad779 --- /dev/null +++ b/share/filters/i18n.py @@ -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 "];" diff --git a/share/tutorials/tutorial-basic.it.svg b/share/tutorials/tutorial-basic.it.svg old mode 100755 new mode 100644 diff --git a/share/tutorials/tutorial-elements.svg b/share/tutorials/tutorial-elements.svg old mode 100755 new mode 100644 diff --git a/src/Makefile.am b/src/Makefile.am index 7272c7888..842c3eb45 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 \ diff --git a/src/dom/Makefile_insert b/src/dom/Makefile_insert index 730ad798a..28edddcfa 100644 --- a/src/dom/Makefile_insert +++ b/src/dom/Makefile_insert @@ -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 \ diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index e6b1bf60b..5abcdbf79 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -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(); diff --git a/src/extension/internal/Makefile_insert b/src/extension/internal/Makefile_insert index ee431ee48..6620a1228 100644 --- a/src/extension/internal/Makefile_insert +++ b/src/extension/internal/Makefile_insert @@ -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 index 2a27fc1ed..000000000 --- a/src/extension/internal/bitmap/convolve.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2007 Authors: - * Christopher Brown - * Ted Gould - * - * 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( - "\n" -// TRANSLATORS: see http://docs.gimp.org/en/gimp-tool-convolve.html - "" N_("Convolve") "\n" - "org.inkscape.effect.bitmap.convolve\n" - "4\n" - "1,1,0,0\n" - "\n" - "all\n" - "\n" - "\n" - "\n" - "" N_("Apply Convolve Effect") "\n" - "\n" - "\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 index 3cfdc7fd3..000000000 --- a/src/extension/internal/bitmap/convolve.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2007 Authors: - * Christopher Brown - * Ted Gould - * - * 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 index b6f00add5..000000000 --- a/src/extension/internal/filter/apparition.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index f161edf2f..000000000 --- a/src/extension/internal/filter/bloom.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index a057dd644..000000000 --- a/src/extension/internal/filter/clouds.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 05922a23a..000000000 --- a/src/extension/internal/filter/crystal.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 897692d03..000000000 --- a/src/extension/internal/filter/cutout.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index ec4722449..000000000 --- a/src/extension/internal/filter/emboss.h +++ /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 - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index a28804286..000000000 --- a/src/extension/internal/filter/etched-glass.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 7816f19bb..000000000 --- a/src/extension/internal/filter/fire.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 9c5dcb25a..000000000 --- a/src/extension/internal/filter/frost.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 6168b38e7..000000000 --- a/src/extension/internal/filter/ink-bleed.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index d063ac900..000000000 --- a/src/extension/internal/filter/jelly-bean.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 654c1e051..000000000 --- a/src/extension/internal/filter/jigsaw-piece.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 7e160c0a2..000000000 --- a/src/extension/internal/filter/leopard-fur.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index d6372c13f..000000000 --- a/src/extension/internal/filter/melt.h +++ /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 - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index b0d41a1af..000000000 --- a/src/extension/internal/filter/metal.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 85a5df4b8..000000000 --- a/src/extension/internal/filter/motion-blur.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index cc24aca07..000000000 --- a/src/extension/internal/filter/oil-slick.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 0ded94a81..000000000 --- a/src/extension/internal/filter/patterned-glass.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 855f36b36..000000000 --- a/src/extension/internal/filter/ridged-border.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 39bef1e0f..000000000 --- a/src/extension/internal/filter/ripple.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 421c2e60c..000000000 --- a/src/extension/internal/filter/roughen.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 429beb618..000000000 --- a/src/extension/internal/filter/rubber-stamp.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 1472bb543..000000000 --- a/src/extension/internal/filter/sepia.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index b0a9733e2..000000000 --- a/src/extension/internal/filter/speckle.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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 index 0292808e4..000000000 --- a/src/extension/internal/filter/zebra.h +++ /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 - * - * 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_() */ - "\n" - "\n" - "\n" - "\n" - "\n" - "\n"); - /* The XML of the filter that should be added. There - * should be a 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__ */ diff --git a/src/helper/Makefile_insert b/src/helper/Makefile_insert index 73cc3d5ee..1801d0ea1 100644 --- a/src/helper/Makefile_insert +++ b/src/helper/Makefile_insert @@ -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 \