diff options
| author | Ted Gould <ted@gould.cx> | 2008-12-10 21:36:50 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2008-12-10 21:36:50 +0000 |
| commit | 31f41e23c5f4653263b564ad080649f10be055e5 (patch) | |
| tree | 5435ba4c8754720172352dc0180bd723a6f45f1c | |
| parent | use 2geom bezier fitting (is copy of inkscape's) (diff) | |
| download | inkscape-31f41e23c5f4653263b564ad080649f10be055e5.tar.gz inkscape-31f41e23c5f4653263b564ad080649f10be055e5.zip | |
* 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.
(bzr r6984)
105 files changed, 48 insertions, 1327 deletions
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 index d1989397a..d1989397a 100755..100644 --- a/share/extensions/alphabet_soup/2.svg +++ b/share/extensions/alphabet_soup/2.svg diff --git a/share/extensions/alphabet_soup/3.svg b/share/extensions/alphabet_soup/3.svg index 3c6d97dda..3c6d97dda 100755..100644 --- a/share/extensions/alphabet_soup/3.svg +++ b/share/extensions/alphabet_soup/3.svg diff --git a/share/extensions/alphabet_soup/6.svg b/share/extensions/alphabet_soup/6.svg index d05c5083d..d05c5083d 100755..100644 --- a/share/extensions/alphabet_soup/6.svg +++ b/share/extensions/alphabet_soup/6.svg diff --git a/share/extensions/alphabet_soup/7.svg b/share/extensions/alphabet_soup/7.svg index e921bb5ff..e921bb5ff 100755..100644 --- a/share/extensions/alphabet_soup/7.svg +++ b/share/extensions/alphabet_soup/7.svg diff --git a/share/extensions/alphabet_soup/Cblob.svg b/share/extensions/alphabet_soup/Cblob.svg index 3c747307a..3c747307a 100755..100644 --- a/share/extensions/alphabet_soup/Cblob.svg +++ b/share/extensions/alphabet_soup/Cblob.svg diff --git a/share/extensions/alphabet_soup/Chook.svg b/share/extensions/alphabet_soup/Chook.svg index aab0fa280..aab0fa280 100755..100644 --- a/share/extensions/alphabet_soup/Chook.svg +++ b/share/extensions/alphabet_soup/Chook.svg diff --git a/share/extensions/alphabet_soup/Ctail.svg b/share/extensions/alphabet_soup/Ctail.svg index 54d55dec1..54d55dec1 100755..100644 --- a/share/extensions/alphabet_soup/Ctail.svg +++ b/share/extensions/alphabet_soup/Ctail.svg diff --git a/share/extensions/alphabet_soup/Delta.svg b/share/extensions/alphabet_soup/Delta.svg index 82e60c34f..82e60c34f 100755..100644 --- a/share/extensions/alphabet_soup/Delta.svg +++ b/share/extensions/alphabet_soup/Delta.svg diff --git a/share/extensions/alphabet_soup/Eb.svg b/share/extensions/alphabet_soup/Eb.svg index c9c42a550..c9c42a550 100755..100644 --- a/share/extensions/alphabet_soup/Eb.svg +++ b/share/extensions/alphabet_soup/Eb.svg diff --git a/share/extensions/alphabet_soup/Eserif.svg b/share/extensions/alphabet_soup/Eserif.svg index 51e46b90e..51e46b90e 100755..100644 --- a/share/extensions/alphabet_soup/Eserif.svg +++ b/share/extensions/alphabet_soup/Eserif.svg diff --git a/share/extensions/alphabet_soup/Et.svg b/share/extensions/alphabet_soup/Et.svg index 1c69936ba..1c69936ba 100755..100644 --- a/share/extensions/alphabet_soup/Et.svg +++ b/share/extensions/alphabet_soup/Et.svg diff --git a/share/extensions/alphabet_soup/G.svg b/share/extensions/alphabet_soup/G.svg index d6fb0c314..d6fb0c314 100755..100644 --- a/share/extensions/alphabet_soup/G.svg +++ b/share/extensions/alphabet_soup/G.svg diff --git a/share/extensions/alphabet_soup/IBSerif.svg b/share/extensions/alphabet_soup/IBSerif.svg index 774f52d06..774f52d06 100755..100644 --- a/share/extensions/alphabet_soup/IBSerif.svg +++ b/share/extensions/alphabet_soup/IBSerif.svg diff --git a/share/extensions/alphabet_soup/ITSerif.svg b/share/extensions/alphabet_soup/ITSerif.svg index df4023dbd..df4023dbd 100755..100644 --- a/share/extensions/alphabet_soup/ITSerif.svg +++ b/share/extensions/alphabet_soup/ITSerif.svg diff --git a/share/extensions/alphabet_soup/Lb.svg b/share/extensions/alphabet_soup/Lb.svg index 164c956fd..164c956fd 100755..100644 --- a/share/extensions/alphabet_soup/Lb.svg +++ b/share/extensions/alphabet_soup/Lb.svg diff --git a/share/extensions/alphabet_soup/Lt.svg b/share/extensions/alphabet_soup/Lt.svg index 60b288eda..60b288eda 100755..100644 --- a/share/extensions/alphabet_soup/Lt.svg +++ b/share/extensions/alphabet_soup/Lt.svg diff --git a/share/extensions/alphabet_soup/Ocross.svg b/share/extensions/alphabet_soup/Ocross.svg index 63b1caafa..63b1caafa 100755..100644 --- a/share/extensions/alphabet_soup/Ocross.svg +++ b/share/extensions/alphabet_soup/Ocross.svg diff --git a/share/extensions/alphabet_soup/Oterm.svg b/share/extensions/alphabet_soup/Oterm.svg index f01085811..f01085811 100755..100644 --- a/share/extensions/alphabet_soup/Oterm.svg +++ b/share/extensions/alphabet_soup/Oterm.svg diff --git a/share/extensions/alphabet_soup/P.svg b/share/extensions/alphabet_soup/P.svg index 5e61cf6b0..5e61cf6b0 100755..100644 --- a/share/extensions/alphabet_soup/P.svg +++ b/share/extensions/alphabet_soup/P.svg diff --git a/share/extensions/alphabet_soup/Q.svg b/share/extensions/alphabet_soup/Q.svg index 2da900b5d..2da900b5d 100755..100644 --- a/share/extensions/alphabet_soup/Q.svg +++ b/share/extensions/alphabet_soup/Q.svg diff --git a/share/extensions/alphabet_soup/Rblock.svg b/share/extensions/alphabet_soup/Rblock.svg index a2f4e9d70..a2f4e9d70 100755..100644 --- a/share/extensions/alphabet_soup/Rblock.svg +++ b/share/extensions/alphabet_soup/Rblock.svg diff --git a/share/extensions/alphabet_soup/Tb.svg b/share/extensions/alphabet_soup/Tb.svg index 2a75ac5b4..2a75ac5b4 100755..100644 --- a/share/extensions/alphabet_soup/Tb.svg +++ b/share/extensions/alphabet_soup/Tb.svg diff --git a/share/extensions/alphabet_soup/Tt.svg b/share/extensions/alphabet_soup/Tt.svg index 04d2a1829..04d2a1829 100755..100644 --- a/share/extensions/alphabet_soup/Tt.svg +++ b/share/extensions/alphabet_soup/Tt.svg diff --git a/share/extensions/alphabet_soup/U.svg b/share/extensions/alphabet_soup/U.svg index e8b8244c3..e8b8244c3 100755..100644 --- a/share/extensions/alphabet_soup/U.svg +++ b/share/extensions/alphabet_soup/U.svg diff --git a/share/extensions/alphabet_soup/Vser.svg b/share/extensions/alphabet_soup/Vser.svg index e1467702f..e1467702f 100755..100644 --- a/share/extensions/alphabet_soup/Vser.svg +++ b/share/extensions/alphabet_soup/Vser.svg diff --git a/share/extensions/alphabet_soup/Xh.svg b/share/extensions/alphabet_soup/Xh.svg index c60f3048f..c60f3048f 100755..100644 --- a/share/extensions/alphabet_soup/Xh.svg +++ b/share/extensions/alphabet_soup/Xh.svg diff --git a/share/extensions/alphabet_soup/Xne.svg b/share/extensions/alphabet_soup/Xne.svg index 9dc54f19d..9dc54f19d 100755..100644 --- a/share/extensions/alphabet_soup/Xne.svg +++ b/share/extensions/alphabet_soup/Xne.svg diff --git a/share/extensions/alphabet_soup/Xnw.svg b/share/extensions/alphabet_soup/Xnw.svg index 98cd8bc1f..98cd8bc1f 100755..100644 --- a/share/extensions/alphabet_soup/Xnw.svg +++ b/share/extensions/alphabet_soup/Xnw.svg diff --git a/share/extensions/alphabet_soup/Xvb.svg b/share/extensions/alphabet_soup/Xvb.svg index 16e80b42c..16e80b42c 100755..100644 --- a/share/extensions/alphabet_soup/Xvb.svg +++ b/share/extensions/alphabet_soup/Xvb.svg diff --git a/share/extensions/alphabet_soup/Xvt.svg b/share/extensions/alphabet_soup/Xvt.svg index 9747d84d7..9747d84d7 100755..100644 --- a/share/extensions/alphabet_soup/Xvt.svg +++ b/share/extensions/alphabet_soup/Xvt.svg diff --git a/share/extensions/alphabet_soup/a.svg b/share/extensions/alphabet_soup/a.svg index 284de78ea..284de78ea 100755..100644 --- a/share/extensions/alphabet_soup/a.svg +++ b/share/extensions/alphabet_soup/a.svg diff --git a/share/extensions/alphabet_soup/abase.svg b/share/extensions/alphabet_soup/abase.svg index 0a95a6273..0a95a6273 100755..100644 --- a/share/extensions/alphabet_soup/abase.svg +++ b/share/extensions/alphabet_soup/abase.svg diff --git a/share/extensions/alphabet_soup/b.svg b/share/extensions/alphabet_soup/b.svg index fd01a263b..fd01a263b 100755..100644 --- a/share/extensions/alphabet_soup/b.svg +++ b/share/extensions/alphabet_soup/b.svg diff --git a/share/extensions/alphabet_soup/bar.svg b/share/extensions/alphabet_soup/bar.svg index 8b477e378..8b477e378 100755..100644 --- a/share/extensions/alphabet_soup/bar.svg +++ b/share/extensions/alphabet_soup/bar.svg diff --git a/share/extensions/alphabet_soup/bar2.svg b/share/extensions/alphabet_soup/bar2.svg index 39ed825ae..39ed825ae 100755..100644 --- a/share/extensions/alphabet_soup/bar2.svg +++ b/share/extensions/alphabet_soup/bar2.svg diff --git a/share/extensions/alphabet_soup/c.svg b/share/extensions/alphabet_soup/c.svg index c6261a0e5..c6261a0e5 100755..100644 --- a/share/extensions/alphabet_soup/c.svg +++ b/share/extensions/alphabet_soup/c.svg diff --git a/share/extensions/alphabet_soup/cross.svg b/share/extensions/alphabet_soup/cross.svg index 89b67fefe..89b67fefe 100755..100644 --- a/share/extensions/alphabet_soup/cross.svg +++ b/share/extensions/alphabet_soup/cross.svg diff --git a/share/extensions/alphabet_soup/cserif.svg b/share/extensions/alphabet_soup/cserif.svg index 14669a0ad..14669a0ad 100755..100644 --- a/share/extensions/alphabet_soup/cserif.svg +++ b/share/extensions/alphabet_soup/cserif.svg diff --git a/share/extensions/alphabet_soup/e.svg b/share/extensions/alphabet_soup/e.svg index 03106dd97..03106dd97 100755..100644 --- a/share/extensions/alphabet_soup/e.svg +++ b/share/extensions/alphabet_soup/e.svg diff --git a/share/extensions/alphabet_soup/epsilon.svg b/share/extensions/alphabet_soup/epsilon.svg index a2dd33e60..a2dd33e60 100755..100644 --- a/share/extensions/alphabet_soup/epsilon.svg +++ b/share/extensions/alphabet_soup/epsilon.svg diff --git a/share/extensions/alphabet_soup/f.svg b/share/extensions/alphabet_soup/f.svg index c0f94c3ed..c0f94c3ed 100755..100644 --- a/share/extensions/alphabet_soup/f.svg +++ b/share/extensions/alphabet_soup/f.svg diff --git a/share/extensions/alphabet_soup/gamma.svg b/share/extensions/alphabet_soup/gamma.svg index 29cc11fbd..29cc11fbd 100755..100644 --- a/share/extensions/alphabet_soup/gamma.svg +++ b/share/extensions/alphabet_soup/gamma.svg diff --git a/share/extensions/alphabet_soup/h.svg b/share/extensions/alphabet_soup/h.svg index ee0b78365..ee0b78365 100755..100644 --- a/share/extensions/alphabet_soup/h.svg +++ b/share/extensions/alphabet_soup/h.svg diff --git a/share/extensions/alphabet_soup/h2.svg b/share/extensions/alphabet_soup/h2.svg index 636b4dfd4..636b4dfd4 100755..100644 --- a/share/extensions/alphabet_soup/h2.svg +++ b/share/extensions/alphabet_soup/h2.svg diff --git a/share/extensions/alphabet_soup/idot.svg b/share/extensions/alphabet_soup/idot.svg index d3d0dadb0..d3d0dadb0 100755..100644 --- a/share/extensions/alphabet_soup/idot.svg +++ b/share/extensions/alphabet_soup/idot.svg diff --git a/share/extensions/alphabet_soup/j.svg b/share/extensions/alphabet_soup/j.svg index 14350d4b0..14350d4b0 100755..100644 --- a/share/extensions/alphabet_soup/j.svg +++ b/share/extensions/alphabet_soup/j.svg diff --git a/share/extensions/alphabet_soup/k.svg b/share/extensions/alphabet_soup/k.svg index 314f2b0b9..314f2b0b9 100755..100644 --- a/share/extensions/alphabet_soup/k.svg +++ b/share/extensions/alphabet_soup/k.svg diff --git a/share/extensions/alphabet_soup/l.svg b/share/extensions/alphabet_soup/l.svg index 00beccf9f..00beccf9f 100755..100644 --- a/share/extensions/alphabet_soup/l.svg +++ b/share/extensions/alphabet_soup/l.svg diff --git a/share/extensions/alphabet_soup/lserif.svg b/share/extensions/alphabet_soup/lserif.svg index 082093191..082093191 100755..100644 --- a/share/extensions/alphabet_soup/lserif.svg +++ b/share/extensions/alphabet_soup/lserif.svg diff --git a/share/extensions/alphabet_soup/m.svg b/share/extensions/alphabet_soup/m.svg index abe974a58..abe974a58 100755..100644 --- a/share/extensions/alphabet_soup/m.svg +++ b/share/extensions/alphabet_soup/m.svg diff --git a/share/extensions/alphabet_soup/n.svg b/share/extensions/alphabet_soup/n.svg index 420042a19..420042a19 100755..100644 --- a/share/extensions/alphabet_soup/n.svg +++ b/share/extensions/alphabet_soup/n.svg diff --git a/share/extensions/alphabet_soup/o.svg b/share/extensions/alphabet_soup/o.svg index 967bad08f..967bad08f 100755..100644 --- a/share/extensions/alphabet_soup/o.svg +++ b/share/extensions/alphabet_soup/o.svg diff --git a/share/extensions/alphabet_soup/r.svg b/share/extensions/alphabet_soup/r.svg index bb2273a0a..bb2273a0a 100755..100644 --- a/share/extensions/alphabet_soup/r.svg +++ b/share/extensions/alphabet_soup/r.svg diff --git a/share/extensions/alphabet_soup/s.svg b/share/extensions/alphabet_soup/s.svg index dc7c6fc16..dc7c6fc16 100755..100644 --- a/share/extensions/alphabet_soup/s.svg +++ b/share/extensions/alphabet_soup/s.svg diff --git a/share/extensions/alphabet_soup/serif.svg b/share/extensions/alphabet_soup/serif.svg index d2bf55e0a..d2bf55e0a 100755..100644 --- a/share/extensions/alphabet_soup/serif.svg +++ b/share/extensions/alphabet_soup/serif.svg diff --git a/share/extensions/alphabet_soup/t.svg b/share/extensions/alphabet_soup/t.svg index 7940a68e2..7940a68e2 100755..100644 --- a/share/extensions/alphabet_soup/t.svg +++ b/share/extensions/alphabet_soup/t.svg diff --git a/share/extensions/alphabet_soup/tserif.svg b/share/extensions/alphabet_soup/tserif.svg index df095c093..df095c093 100755..100644 --- a/share/extensions/alphabet_soup/tserif.svg +++ b/share/extensions/alphabet_soup/tserif.svg diff --git a/share/extensions/alphabet_soup/v.svg b/share/extensions/alphabet_soup/v.svg index 917580771..917580771 100755..100644 --- a/share/extensions/alphabet_soup/v.svg +++ b/share/extensions/alphabet_soup/v.svg diff --git a/share/extensions/alphabet_soup/vserl.svg b/share/extensions/alphabet_soup/vserl.svg index 90c92276b..90c92276b 100755..100644 --- a/share/extensions/alphabet_soup/vserl.svg +++ b/share/extensions/alphabet_soup/vserl.svg diff --git a/share/extensions/alphabet_soup/vserr.svg b/share/extensions/alphabet_soup/vserr.svg index 964ae97a8..964ae97a8 100755..100644 --- a/share/extensions/alphabet_soup/vserr.svg +++ b/share/extensions/alphabet_soup/vserr.svg diff --git a/share/extensions/alphabet_soup/x.svg b/share/extensions/alphabet_soup/x.svg index f40b0a9fb..f40b0a9fb 100755..100644 --- a/share/extensions/alphabet_soup/x.svg +++ b/share/extensions/alphabet_soup/x.svg diff --git a/share/extensions/alphabet_soup/y.svg b/share/extensions/alphabet_soup/y.svg index 089cec9c8..089cec9c8 100755..100644 --- a/share/extensions/alphabet_soup/y.svg +++ b/share/extensions/alphabet_soup/y.svg diff --git a/share/extensions/alphabet_soup/yogh.svg b/share/extensions/alphabet_soup/yogh.svg index 6e6f19d19..6e6f19d19 100755..100644 --- a/share/extensions/alphabet_soup/yogh.svg +++ b/share/extensions/alphabet_soup/yogh.svg diff --git a/share/extensions/alphabet_soup/z.svg b/share/extensions/alphabet_soup/z.svg index 7826d59e0..7826d59e0 100755..100644 --- a/share/extensions/alphabet_soup/z.svg +++ b/share/extensions/alphabet_soup/z.svg 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 index c7d1aa385..c7d1aa385 100755..100644 --- a/share/tutorials/tutorial-basic.it.svg +++ b/share/tutorials/tutorial-basic.it.svg diff --git a/share/tutorials/tutorial-elements.svg b/share/tutorials/tutorial-elements.svg index 6d3bfe4db..6d3bfe4db 100755..100644 --- a/share/tutorials/tutorial-elements.svg +++ b/share/tutorials/tutorial-elements.svg 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 <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 index 3cfdc7fd3..000000000 --- a/src/extension/internal/bitmap/convolve.h +++ /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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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__ */ 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 \ |
