Code

restored pedro/work and added it to make.exclude
[inkscape.git] / src / sp-filter.h
1 #ifndef SP_FILTER_H_SEEN
2 #define SP_FILTER_H_SEEN
4 /** \file
5  * SVG <filter> implementation, see sp-filter.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 "number-opt-number.h"
17 #include "sp-object.h"
18 #include "sp-filter-units.h"
19 #include "svg/svg-length.h"
21 /* Filter base class */
23 /* MACROS DEFINED IN FILE sp-filter-fns.h */
25 struct SPFilterReference;
27 class SPFilter;
28 class SPFilterClass;
30 struct SPFilter : public SPObject {
32     /** filterUnits attribute */
33     SPFilterUnits filterUnits;
34     guint filterUnits_set : 1;
35     /** primitiveUnits attribute */
36     SPFilterUnits primitiveUnits;
37     guint primitiveUnits_set : 1;
38     /** X attribute */    
39     SVGLength x;
40     /** Y attribute */
41     SVGLength y;
42     /** WIDTH attribute */
43     SVGLength width;
44     /** HEIGHT attribute */
45     SVGLength height;
46     /** FILTERRES attribute */
47     NumberOptNumber filterRes;
48     /** HREF attribute */
49     SPFilterReference *href;
50 };
52 struct SPFilterClass {
53     SPObjectClass parent_class;
54 };
56 #include "sp-filter-fns.h"
59 #endif /* !SP_FILTER_H_SEEN */
61 /*
62   Local Variables:
63   mode:c++
64   c-file-style:"stroustrup"
65   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
66   indent-tabs-mode:nil
67   fill-column:99
68   End:
69 */
70 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :