home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / scpattern.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-10-22  |  1.8 KB  |  56 lines

  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. #include <QImage>
  28. #include <QList>
  29. #include <QString>
  30.  
  31. #include "scribusapi.h"
  32.  
  33. class PageItem;
  34. class ScribusDoc;
  35.  
  36. class SCRIBUS_API ScPattern
  37. {
  38. public:
  39.     ScPattern();
  40.     ~ScPattern() {};
  41.     QImage* getPattern();
  42.     void setDoc(ScribusDoc *doc);
  43.     void setPattern(QString file);
  44.     double scaleX;
  45.     double scaleY;
  46.     double height;
  47.     double width;
  48.     double xoffset;
  49.     double yoffset;
  50.     QList<PageItem*> items;
  51.     ScribusDoc *m_doc;
  52.     QImage pattern;
  53. };
  54.  
  55. #endif
  56.