1
#ifndef __NR_FILTER_COMPOSITE_H__
2
#define __NR_FILTER_COMPOSITE_H__
5
* feComposite filter effect renderer
8
* Niko Kiirala <niko@kiirala.com>
10
* Copyright (C) 2007 authors
12
* Released under GNU GPL, read the file 'COPYING' for more information
15
#include "filters/composite.h"
16
#include "display/nr-filter-primitive.h"
17
#include "display/nr-filter-slot.h"
18
#include "display/nr-filter-units.h"
23
class FilterComposite : public FilterPrimitive {
26
static FilterPrimitive *create();
27
virtual ~FilterComposite();
29
virtual int render(FilterSlot &slot, FilterUnits const &units);
31
virtual void set_input(int input);
32
virtual void set_input(int input, int slot);
34
void set_operator(FeCompositeOperator op);
35
void set_arithmetic(double k1, double k2, double k3, double k4);
38
FeCompositeOperator op;
39
double k1, k2, k3, k4;
43
} /* namespace Filters */
44
} /* namespace Inkscape */
46
#endif /* __NR_FILTER_COMPOSITE_H__ */
50
c-file-style:"stroustrup"
51
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
56
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :