2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef IMAGEEFFECTS_H
12 #define IMAGEEFFECTS_H
18 namespace ImageEffects
{
19 void expBlur(QImage
& img
, int radius
);
20 QImage
addShadow(const QImage
& image
, int radius
, QColor color
,
21 int offx
, int offy
, int growx
, int growy
);
22 void floodFill(QImage
& image
, QPoint point
, QColor color
,
23 bool invade_border
= false, std::vector
<QPoint
>* border
= NULL
);
24 void floodFillBlueThreshold(QImage
& image
, QPoint point
, QColor color
, unsigned int thresh
,
25 bool invade_border
= false, std::vector
<QPoint
>* border
= NULL
);
26 QImage
growBorder(const QImage
& image
);
27 } //end namespace ImageEffects
29 #endif //IMAGEEFFECTS_H