Subversion Repositories Scribus

Rev

Rev 6413 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6368 fschmid 1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
/***************************************************************************
8
                          scpattern.h  -  description
9
                             -------------------
10
    begin                : Sat Sep 9 2006
11
    copyright            : (C) 2006 by Franz Schmid
12
    email                : Franz.Schmid@altmuehlnet.de
13
 ***************************************************************************/
14
 
15
/***************************************************************************
16
 *                                                                         *
17
 *   This program is free software; you can redistribute it and/or modify  *
18
 *   it under the terms of the GNU General Public License as published by  *
19
 *   the Free Software Foundation; either version 2 of the License, or     *
20
 *   (at your option) any later version.                                   *
21
 *                                                                         *
22
 ***************************************************************************/
23
 
24
#ifndef SCPATTERN_H
25
#define SCPATTERN_H
26
 
27
class QString;
6369 fschmid 28
class ScribusDoc;
6368 fschmid 29
#include <qptrlist.h>
30
#include <qimage.h>
31
#include "scribusapi.h"
6413 fschmid 32
#include "pageitem.h"
6368 fschmid 33
 
34
class SCRIBUS_API ScPattern
35
{
36
public:
37
        ScPattern();
38
        ~ScPattern() {};
39
        QImage* getPattern();
6369 fschmid 40
        void setDoc(ScribusDoc *doc);
6368 fschmid 41
        void setPattern(QString file);
6369 fschmid 42
        double scaleX;
43
        double scaleY;
6380 fschmid 44
        double height;
45
        double width;
6372 fschmid 46
        QPtrList<PageItem> items;
6369 fschmid 47
        ScribusDoc *m_doc;
6368 fschmid 48
        QImage pattern;
49
};
50
 
51
#endif