2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
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
19 * @brief Namespace holding image manipulation functions.
21 namespace ImageEffects
{
22 void expBlur(QImage
& img
, int radius
);
23 QImage
addShadow(const QImage
& image
, int radius
, QColor color
,
24 int offx
, int offy
, int growx
, int growy
);
25 void floodFill(QImage
& image
, QPoint point
, QColor color
,
26 bool invade_border
= false, std::vector
<QPoint
>* border
= NULL
);
27 void floodFillBlueThreshold(QImage
& image
, QPoint point
, QColor color
, unsigned int thresh
,
28 bool invade_border
= false, std::vector
<QPoint
>* border
= NULL
);
29 QImage
growBorder(const QImage
& image
);
30 } //end namespace ImageEffects
32 #endif //IMAGEEFFECTS_H