Code

b7737e34717df11441ba40ead1f59ffd477b17f0
[inkscape.git] / src / display / nr-filter-merge.h
1 #ifndef __NR_FILTER_MERGE_H__
2 #define __NR_FILTER_MERGE_H__
4 /*
5  * feMerge filter effect renderer
6  *
7  * Authors:
8  *   Niko Kiirala <niko@kiirala.com>
9  *
10  * Copyright (C) 2007 authors
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 #include <vector>
17 #include "filters/merge.h"
18 #include "display/nr-filter-primitive.h"
19 #include "display/nr-filter-slot.h"
20 #include "display/nr-filter-units.h"
22 namespace Inkscape {
23 namespace Filters {
25 class FilterMerge : public FilterPrimitive {
26 public:
27     FilterMerge();
28     static FilterPrimitive *create();
29     virtual ~FilterMerge();
31     virtual int render(FilterSlot &slot, FilterUnits const &units);
33     virtual void set_input(int input);
34     virtual void set_input(int input, int slot);
36 private:
37     std::vector<int> _input_image;
38 };
40 } /* namespace Filters */
41 } /* namespace Inkscape */
43 #endif /* __NR_FILTER_MERGE_H__ */
44 /*
45   Local Variables:
46   mode:c++
47   c-file-style:"stroustrup"
48   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
49   indent-tabs-mode:nil
50   fill-column:99
51   End:
52 */
53 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :