2 * This is an adaptation of Jani Huhtanen Exponential blur code.
4 * Copyright 2007 Jani Huhtanen <jani.huhtanen@tut.fi>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Library General Public License version 2 as
8 * published by the Free Software Foundation
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details
15 * You should have received a copy of the GNU Library General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef _KDE_PLASMA_BLUR_H_
22 #define _KDE_PLASMA_BLUR_H_
28 ImageBlur (QImage *image, int aprec, int zprec);
32 void expblur (int radius);
35 static void expblur (QImage *image, int aprec, int zprec, int radius);
38 void blurcol (int col, int alpha);
39 void blurrow (int line, int alpha);
41 void blurinner (unsigned char *bptr,
42 int &zR, int &zG, int &zB, int &zA,
51 #endif /* !_KDE_PLASMA_BLUR_H_ */