AlbumShaper  1.0a3
mosaic.h
Go to the documentation of this file.
1 //==============================================
2 // copyright : (C) 2003-2005 by Will Stokes
3 //==============================================
4 // This program is free software; you can redistribute it
5 // and/or modify it under the terms of the GNU General
6 // Public License as published by the Free Software
7 // Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //==============================================
10 
11 #ifndef BACKEND_MANIPULATIONS_MOSAIC_H
12 #define BACKEND_MANIPULATIONS_MOSAIC_H
13 
14 #include "manipulationOptions.h"
15 #include <qsize.h>
16 
17 //--------------------
18 //forward declarations
19 //--------------------
20 class QImage;
21 class QString;
22 class QStringList;
24 
25 //====================================================
26 //Declare mosaic options type
28 {
29 public:
30  MosaicOptions(QStringList files, QSize tileSize, StatusWidget* status);
31  QStringList getFileList();
32  QSize getTileSize();
33 
34 private:
35  QStringList files;
36  QSize tileSize;
37 };
38 //====================================================
39 
40 //Apply mosaic effect
41 QImage* mosaicEffect( QString filename, MosaicOptions* options );
42 
43 #endif //BACKEND_MANIPULATIONS_MOSAIC_H
MosaicOptions(QStringList files, QSize tileSize, StatusWidget *status)
Definition: mosaic.cpp:248
QStringList getFileList()
Definition: mosaic.cpp:254
QStringList files
Definition: mosaic.h:35
QSize tileSize
Definition: mosaic.h:36
QSize getTileSize()
Definition: mosaic.cpp:255
QImage * mosaicEffect(QString filename, MosaicOptions *options)
Definition: mosaic.cpp:293