Remove this line
[kdeaccessibility.git] / kmag / colorsim.h
blobd0a887808c221c072cd7b57aa2f4f8ea2785658c
1 /***************************************************************************
2 colorsim.h - description
3 -------------------
4 begin : Mon Jan 21 14:54:37 CST 2008
5 copyright : (C) 2008 by Matthew Woehlke
6 email : mw_triad@users.sourceforge.net
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef KMAGCOLORSIM_H
19 #define KMAGCOLORSIM_H
21 // include files for Qt
22 #include <QtGui/QImage>
23 #include <QtGui/QPixmap>
25 namespace ColorSim {
26 /**
27 * Recolor a pixmap according to the specified simulation mode:
28 * 1 - Protanopia
29 * 2 - Deuteranopia
30 * 3 - Tritanopia
31 * 4 - Achromatopsia
33 QPixmap recolor(const QPixmap &pm, int mode, qreal gamma = 1.0);
35 #endif