mosaic.h

Go to the documentation of this file.
00001 //==============================================
00002 //  copyright            : (C) 2003-2005 by Will Stokes
00003 //==============================================
00004 //  This program is free software; you can redistribute it
00005 //  and/or modify it under the terms of the GNU General
00006 //  Public License as published by the Free Software
00007 //  Foundation; either version 2 of the License, or
00008 //  (at your option) any later version.
00009 //==============================================
00010 
00011 #ifndef BACKEND_MANIPULATIONS_MOSAIC_H
00012 #define BACKEND_MANIPULATIONS_MOSAIC_H
00013 
00014 #include "manipulationOptions.h"
00015 #include <qsize.h>
00016 
00017 //--------------------
00018 //forward declarations
00019 //--------------------
00020 class QImage;
00021 class QString;
00022 class QStringList;
00023 class ManipulationOptions;
00024 
00025 //====================================================
00026 //Declare mosaic options type
00027 class MosaicOptions : public ManipulationOptions
00028 {
00029 public:
00030   MosaicOptions(QStringList files, QSize tileSize, StatusWidget* status); 
00031   QStringList getFileList();
00032   QSize getTileSize();
00033 
00034 private:
00035   QStringList files;
00036   QSize tileSize; 
00037 };
00038 //====================================================
00039 
00040 //Apply mosaic effect
00041 QImage* mosaicEffect( QString filename, MosaicOptions* options );
00042 
00043 #endif //BACKEND_MANIPULATIONS_MOSAIC_H

Generated on Wed Jan 24 05:38:05 2007 for AlbumShaper by  doxygen 1.5.1