1
#ifndef __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__
2
#define __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__
3
/* Change the 'CLOUDS' 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 Clouds : public Inkscape::Extension::Internal::Filter::Filter {
22
static void init (void) {
23
filter_init("clouds", /* ID -- should be unique */
24
N_("Clouds"), /* Name in the menus, should have a N_() around it for translation */
25
N_("Yes, more descriptions"),
26
/* Menu tooltip to help users understand the name. Should also have a N_() */
28
"<feTurbulence type=\"fractalNoise\" baseFrequency=\"0.040293040293040296 0.10695970695970697\" numOctaves=\"3\"/>\n"
29
"<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"
30
"<feFlood flood-color=\"rgb(255,255,255)\" flood-opacity=\"1\"/>\n"
31
"<feComposite in2=\"result0\" operator=\"in\"/>\n"
32
"<feComposite in2=\"SourceGraphic\" operator=\"atop\"/>\n"
34
/* The XML of the filter that should be added. There
35
* should be a <svg:filter> surrounding what you'd like
36
* to be added with this effect. */
40
}; /* namespace Filter */
41
}; /* namespace Internal */
42
}; /* namespace Extension */
43
}; /* namespace Inkscape */
45
/* Change the 'CLOUDS' below to be your file name */
46
#endif /* __INKSCAPE_EXTENSION_INTERNAL_FILTER_CLOUDS_H__ */