Code

Filters. Custom predefined filters update and new ABC filters.
[inkscape.git] / src / extension / internal / filter / morphology.h
index e0f544c76e061f2827f6408ec3114862053e3406..8e00b47bee34d43674fe8f9c7ae696f8c8801808 100644 (file)
@@ -7,6 +7,9 @@
  *   Ivan Louette (filters)
  *   Nicolas Dufour (UI) <nicoduf@yahoo.fr>
  *
+ * Morphology filters
+ *   Cross-smooth
+ *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 /* ^^^ Change the copyright to be you and your e-mail address ^^^ */
@@ -23,7 +26,7 @@ namespace Internal {
 namespace Filter {
 
 /**
-    \brief    Custom predefined Crosssmooth filter.
+    \brief    Custom predefined Cross-smooth filter.
     
     Smooth the outside of shapes and pictures.
 
@@ -45,8 +48,8 @@ public:
        static void init (void) {
                Inkscape::Extension::build_from_mem(
                        "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
-                               "<name>" N_("Cross-smooth, custom -EXP-") "</name>\n"
-                               "<id>org.inkscape.effect.filter.Crosssmooth</id>\n"
+                               "<name>" N_("Cross-smooth, custom (morphology)") "</name>\n"
+                               "<id>org.inkscape.effect.filter.crosssmooth</id>\n"
                         "<param name=\"type\" gui-text=\"" N_("Type:") "\" type=\"enum\">\n"
                             "<_item value=\"edges\">Smooth edges</_item>\n"
                             "<_item value=\"all\">Smooth all</_item>\n"
@@ -84,7 +87,7 @@ Crosssmooth::get_filter_text (Inkscape::Extension::Extension * ext)
     }
 
        _filter = g_strdup_printf(
-               "<filter xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\" color-interpolation-filters=\"sRGB\" y=\"0\" x=\"0\" inkscape:label=\"Cross-smooth, custom -EXP-\">\n"
+               "<filter xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\" color-interpolation-filters=\"sRGB\" inkscape:label=\"Cross-smooth, custom\">\n"
         "<feGaussianBlur stdDeviation=\"%s\" result=\"blur\" />\n"
         "<feComposite in=\"%s\" in2=\"blur\" operator=\"atop\" result=\"composite1\" />\n"
         "<feComposite in2=\"composite1\" operator=\"in\" result=\"composite2\" />\n"