summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/bitmap/convolve.h
blob: 3cfdc7fd3ea0137d55e6f9d324c153e42b01ca99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright (C) 2007 Authors:
 *   Christopher Brown <audiere@gmail.com>
 *   Ted Gould <ted@gould.cx>
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#include "imagemagick.h"

namespace Inkscape {
namespace Extension {
namespace Internal {
namespace Bitmap {

class Convolve : public ImageMagick {
private:
	int _order;
	double* _kernel;
public:
    void applyEffect(Magick::Image *image);
	void refreshParameters(Inkscape::Extension::Effect *module);
    static void init (void);
};

}; /* namespace Bitmap */
}; /* namespace Internal */
}; /* namespace Extension */
}; /* namespace Inkscape */