1 #ifndef SP_FECOLORMATRIX_H_SEEN
2 #define SP_FECOLORMATRIX_H_SEEN
4 /** \file
5 * SVG <feColorMatrix> implementation, see ColorMatrix.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 "colormatrix-fns.h"
18 #include "display/nr-filter-colormatrix.h"
19 #include <vector>
21 /* FeColorMatrix base class */
22 class SPFeColorMatrixClass;
24 struct SPFeColorMatrix : public SPFilterPrimitive {
25 /** COLORMATRIX ATTRIBUTES HERE */
26 Inkscape::Filters::FilterColorMatrixType type;
27 gdouble value;
28 std::vector<gdouble> values;
29 };
31 struct SPFeColorMatrixClass {
32 SPFilterPrimitiveClass parent_class;
33 };
35 GType sp_feColorMatrix_get_type();
38 #endif /* !SP_FECOLORMATRIX_H_SEEN */
40 /*
41 Local Variables:
42 mode:c++
43 c-file-style:"stroustrup"
44 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
45 indent-tabs-mode:nil
46 fill-column:99
47 End:
48 */
49 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :