1 #ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__
2 #define __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__
3 /* Change the 'APPARITION' above to be your file name */
5 /*
6 * Copyright (C) 2008 Authors:
7 * Ted Gould <ted@gould.cx>
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
11 /* ^^^ Change the copyright to be you and your e-mail address ^^^ */
13 #include "filter.h"
15 namespace Inkscape {
16 namespace Extension {
17 namespace Internal {
18 namespace Filter {
20 class Apparition : public Inkscape::Extension::Internal::Filter::Filter {
21 public:
22 static void init (void) {
23 filter_init("apparition", /* ID -- should be unique */
24 N_("Apparition"), /* Name in the menus, should have a N_() around it for translation */
25 N_("I'm not sure what this word means"),
26 /* Menu tooltip to help users understand the name. Should also have a N_() */
27 "<filter>\n"
28 "<feMorphology result=\"result0\" in=\"SourceGraphic\" radius=\"4\"/>\n"
29 "<feGaussianBlur stdDeviation=\"9.2439050131926113\" in=\"result0\"/>\n"
30 "<feComposite in=\"SourceGraphic\" operator=\"in\"/>\n"
31 "</filter>\n");
32 /* The XML of the filter that should be added. There
33 * should be a <svg:filter> surrounding what you'd like
34 * to be added with this effect. */
35 };
36 };
38 }; /* namespace Filter */
39 }; /* namespace Internal */
40 }; /* namespace Extension */
41 }; /* namespace Inkscape */
43 /* Change the 'APPARITION' below to be your file name */
44 #endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_APPARITION_H__ */