1 #ifndef __NR_FILTER_COLOR_MATRIX_H__
2 #define __NR_FILTER_COLOR_MATRIX_H__
4 /*
5 * feColorMatrix filter primitive renderer
6 *
7 * Authors:
8 * Felipe CorrĂȘa da Silva Sanches <felipe.sanches@gmail.com>
9 *
10 * Copyright (C) 2007 authors
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include "display/nr-filter-primitive.h"
16 #include "display/nr-filter-slot.h"
18 namespace NR {
20 class FilterColorMatrix : public FilterPrimitive {
21 public:
22 FilterColorMatrix();
23 static FilterPrimitive *create();
24 virtual ~FilterColorMatrix();
26 virtual int render(FilterSlot &slot, Matrix const &trans);
27 virtual void area_enlarge(NRRectL &area, Matrix const &trans);
28 };
30 } /* namespace NR */
32 #endif /* __NR_FILTER_COLOR_MATRIX_H__ */
33 /*
34 Local Variables:
35 mode:c++
36 c-file-style:"stroustrup"
37 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
38 indent-tabs-mode:nil
39 fill-column:99
40 End:
41 */
42 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :