Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

scpattern.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008                           scpattern.h  -  description
00009                              -------------------
00010     begin                : Sat Sep 9 2006
00011     copyright            : (C) 2006 by Franz Schmid
00012     email                : Franz.Schmid@altmuehlnet.de
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef SCPATTERN_H
00025 #define SCPATTERN_H
00026 
00027 #include <QImage>
00028 #include <QList>
00029 #include <QString>
00030 
00031 #include "scribusapi.h"
00032 
00033 class PageItem;
00034 class ScribusDoc;
00035 
00036 class SCRIBUS_API ScPattern
00037 {
00038 public:
00039     ScPattern();
00040     ~ScPattern() {};
00041     QImage* getPattern();
00042     void setDoc(ScribusDoc *doc);
00043     void setPattern(QString file);
00044     double scaleX;
00045     double scaleY;
00046     double height;
00047     double width;
00048     QList<PageItem*> items;
00049     ScribusDoc *m_doc;
00050     QImage pattern;
00051 };
00052 
00053 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.