Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

rgbparadegenerator.h
/***************************************************************************
 *   Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com)      *
 *   This file is part of kdenlive. See www.kdenlive.org.                  *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

#ifndef RGBPARADEGENERATOR_H
#define RGBPARADEGENERATOR_H

#include <QObject>

class QColor;
class QImage;
class QSize;
00019 class RGBParadeGenerator : public QObject
{
public:
    enum PaintMode { PaintMode_RGB, PaintMode_White };

    RGBParadeGenerator();
    QImage calculateRGBParade(const QSize &paradeSize, const QImage &image, const RGBParadeGenerator::PaintMode paintMode,
                              const bool &drawAxis, const bool &drawGradientRef, const uint &accelFactor = 1);

    static const QColor colHighlight;
    static const QColor colLight;
    static const QColor colSoft;

    static const uchar distRight;
    static const uchar distBottom;
};

#endif // RGBPARADEGENERATOR_H

Generated by  Doxygen 1.6.0   Back to index