Code

updated catalan.nsh from launchpad by Xavi Conde
[inkscape.git] / src / sp-fecomponenttransfer.h
1 #ifndef SP_FECOMPONENTTRANSFER_H_SEEN
2 #define SP_FECOMPONENTTRANSFER_H_SEEN
4 /** \file
5  * SVG <feComponentTransfer> implementation, see sp-feComponentTransfer.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 "sp-fecomponenttransfer-fns.h"
18 #include "display/nr-filter-component-transfer.h"
19 #include <vector>
21 /* FeComponentTransfer base class */
22 class SPFeComponentTransferClass;
24 struct SPFeComponentTransfer : public SPFilterPrimitive {
25     /** COMPONENTTRANSFER ATTRIBUTES HERE */
26     NR::FilterComponentTransferType type;
27     std::vector<double> tableValues;
28     double slope;
29     double intercept;
30     double amplitude;
31     double exponent;
32     double offset;
33 };
35 struct SPFeComponentTransferClass {
36     SPFilterPrimitiveClass parent_class;
37 };
39 GType sp_feComponentTransfer_get_type();
42 #endif /* !SP_FECOMPONENTTRANSFER_H_SEEN */
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 :