1 /***************************************************************************
2 * Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com) *
3 * This file is part of kdenlive. See www.kdenlive.org. *
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. *
9 ***************************************************************************/
20 class ColorTools : public QObject
28 @brief Draws a UV plane with given Y value.
29 scaling defines how far to zoom in (or out). Lower value = zoom in.
30 The modified version always scales the RGB values so that at least one of them attains 255.
31 If not the full rect should be filled, set circleOnly to true.
32 See also: http://en.wikipedia.org/wiki/YUV and http://de.wikipedia.org/wiki/Vektorskop
34 QImage yuvColorWheel(const QSize& size, const unsigned char Y, const float scaling, const bool modifiedVersion, const bool circleOnly);
37 void signalWheelCalculationFinished();
40 #endif // COLORTOOLS_H