1
#ifndef SP_FECONVOLVEMATRIX_H_SEEN
2
#define SP_FECONVOLVEMATRIX_H_SEEN
5
* SVG <feConvolveMatrix> implementation, see sp-feConvolveMatrix.cpp.
9
* Felipe Corrêa da Silva Sanches <felipe.sanches@gmail.com>
10
* Hugo Rodrigues <haa.rodrigues@gmail.com>
12
* Copyright (C) 2006 Hugo Rodrigues
14
* Released under GNU GPL, read the file 'COPYING' for more information
17
#include "sp-filter.h"
18
#include "sp-feconvolvematrix-fns.h"
19
#include "number-opt-number.h"
20
#include "display/nr-filter-convolve-matrix.h"
23
/* FeConvolveMatrix base class */
24
class SPFeConvolveMatrixClass;
26
struct SPFeConvolveMatrix : public SPFilterPrimitive {
27
/* CONVOLVEMATRIX ATTRIBUTES */
28
NumberOptNumber order;
29
std::vector<gdouble> kernelMatrix;
32
NR::FilterConvolveMatrixEdgeMode edgeMode;
33
NumberOptNumber kernelUnitLength;
35
//some helper variables:
39
bool kernelMatrixIsSet;
42
struct SPFeConvolveMatrixClass {
43
SPFilterPrimitiveClass parent_class;
46
GType sp_feConvolveMatrix_get_type();
49
#endif /* !SP_FECONVOLVEMATRIX_H_SEEN */
54
c-file-style:"stroustrup"
55
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
60
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :