Code

Filters. Custom predefined filters update and new ABC filters.
[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 "abc.h"
12 #include "color.h"
13 #include "drop-shadow.h"
14 #include "morphology.h"
15 #include "snow.h"
17 #include "experimental.h"
19 namespace Inkscape {
20 namespace Extension {
21 namespace Internal {
22 namespace Filter {
25 void
26 Filter::filters_all (void )
27 {
28         // Here come the filters which are coded in C++ in order to present a parameters dialog
29         DropShadow::init();
30         DropGlow::init();
31         Snow::init();
33     /* Experimental custom predefined filters */
35     // ABCs
36     Blur::init();
37     DiffuseLight::init();
38     Roughen::init();
39     SpecularLight::init();
41     // Color
42     Colorize::init();
43     Duochrome::init();
44     Quadritone::init();
45     Solarize::init();
46     Tritone::init();
48     // Morphology
49     Crosssmooth::init();
51     // Shadows and glows
52     ColorizableDropShadow::init();
54     // TDB
55     Chromolitho::init();
56     Drawing::init();
57     Posterize::init();
58     PosterizeBasic::init();
60         // Here come the rest of the filters that are read from SVG files in share/filters and
61         // .config/Inkscape/filters
62         /* This should always be last, don't put stuff below this
63          * line. */
64         Filter::filters_all_files();
66         return;
67 }
69 }; /* namespace Filter */
70 }; /* namespace Internal */
71 }; /* namespace Extension */
72 }; /* namespace Inkscape */