Code

06b942a1fff70d574ff86c7d76a0c1b4da6423d0
[inkscape.git] / src / extension / internal / filter / filter-all.cpp
1 /*
2  * Copyright (C) 2008 Authors:
3  *   Ted Gould <ted@gould.cx>
4  *
5  * Released under GNU GPL, read the file 'COPYING' for more information
6  */
8 #include "filter.h"
10 /* Put your filter here */
11 #include "color.h"
12 #include "drop-shadow.h"
13 #include "morphology.h"
14 #include "snow.h"
16 #include "experimental.h"
18 namespace Inkscape {
19 namespace Extension {
20 namespace Internal {
21 namespace Filter {
24 void
25 Filter::filters_all (void )
26 {
27         // Here come the filters which are coded in C++ in order to present a parameters dialog
28         DropShadow::init();
29         DropGlow::init();
30         Snow::init();
32     /* Experimental custom predefined filters */
33     
34     // Color
35     Colorize::init();
36     Duochrome::init();
37     Quadritone::init();
38     Solarize::init();
39     Tritone::init();
41     // Morphology
42     Crosssmooth::init();
43     
44     // Shadows and glows
45     ColorizableDropShadow::init();
47     // TDB
48     Chromolitho::init();
49     Drawing::init();
50     Posterize::init();
52         // Here come the rest of the filters that are read from SVG files in share/filters and
53         // .config/Inkscape/filters
54         /* This should always be last, don't put stuff below this
55          * line. */
56         Filter::filters_all_files();
58         return;
59 }
61 }; /* namespace Filter */
62 }; /* namespace Internal */
63 }; /* namespace Extension */
64 }; /* namespace Inkscape */