Code

Merge from fe-moved
[inkscape.git] / src / filters / morphology.h
1 #ifndef SP_FEMORPHOLOGY_H_SEEN
2 #define SP_FEMORPHOLOGY_H_SEEN
4 /** \file
5  * SVG <feMorphology> implementation, see Morphology.cpp.
6  */
7 /*
8  * Authors:
9  *   Hugo Rodrigues <haa.rodrigues@gmail.com>
10  *
11  * Copyright (C) 2006 Hugo Rodrigues
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #include "sp-filter.h"
17 #include "morphology-fns.h"
18 #include "number-opt-number.h"
19 #include "display/nr-filter.h"
20 #include "display/nr-filter-morphology.h"
23 /* FeMorphology base class */
24 class SPFeMorphologyClass;
26 struct SPFeMorphology : public SPFilterPrimitive {
27     /** MORPHOLOGY ATTRIBUTES HERE */
28     NR::FilterMorphologyOperator Operator;
29     NumberOptNumber radius;
30 };
32 struct SPFeMorphologyClass {
33     SPFilterPrimitiveClass parent_class;
34 };
36 GType sp_feMorphology_get_type();
39 #endif /* !SP_FEMORPHOLOGY_H_SEEN */
41 /*
42   Local Variables:
43   mode:c++
44   c-file-style:"stroustrup"
45   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46   indent-tabs-mode:nil
47   fill-column:99
48   End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :