1
#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__
2
#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__
3
/* Change the 'ETCHED_GLASS' above to be your file name */
6
* Copyright (C) 2008 Authors:
7
* Ted Gould <ted@gould.cx>
9
* Released under GNU GPL, read the file 'COPYING' for more information
11
/* ^^^ Change the copyright to be you and your e-mail address ^^^ */
20
class EtchedGlass : public Inkscape::Extension::Internal::Filter::Filter {
22
static void init (void) {
23
filter_init("etched-glass", /* ID -- should be unique */
24
N_("Etched Glass"), /* Name in the menus, should have a N_() around it for translation */
26
/* Menu tooltip to help users understand the name. Should also have a N_() */
28
"<feGaussianBlur stdDeviation=\"6.3056666666666654\" in=\"BackgroundImage\"/>\n"
29
"<feComposite in2=\"SourceAlpha\" operator=\"in\"/>\n"
30
"<feBlend blend=\"normal\" in2=\"SourceGraphic\" mode=\"multiply\"/>\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. */
38
}; /* namespace Filter */
39
}; /* namespace Internal */
40
}; /* namespace Extension */
41
}; /* namespace Inkscape */
43
/* Change the 'ETCHED_GLASS' below to be your file name */
44
#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_ETCHED_GLASS_H__ */