F:/KPlato/koffice/libs/kwmf/kowmfstack.h

Aller à la documentation de ce fichier.
00001 /* This file is part of the KDE libraries
00002    Copyright (c) 1998 Stefan Taferner
00003                     2001/2003 thierry lorthiois (lorthioist@wanadoo.fr)
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 #ifndef _KOWMFSTACK_H_
00020 #define _KOWMFSTACK_H_
00021 
00022 #include <QPen>
00023 #include <QColor>
00024 #include <QFont>
00025 #include <QBrush>
00026 #include <QPixmap>
00027 
00028 class KoWmfRead;
00029 
00034 class KoWmfHandle
00035 {
00036 public:
00037     virtual ~KoWmfHandle() {}
00038     virtual void apply( KoWmfRead * ) = 0;
00039 };
00040 
00041 class KoWmfBrushHandle: public KoWmfHandle
00042 {
00043 public:
00044     virtual void apply( KoWmfRead * );
00045     QBrush brush;
00046 };
00047 
00048 class KoWmfPenHandle: public KoWmfHandle
00049 {
00050 public:
00051     virtual void apply( KoWmfRead * );
00052     QPen pen;
00053 };
00054 
00055 class KoWmfPatternBrushHandle: public KoWmfHandle
00056 {
00057 public:
00058     virtual void apply( KoWmfRead * );
00059     QBrush brush;
00060     QPixmap image;
00061 };
00062 
00063 class KoWmfFontHandle: public KoWmfHandle
00064 {
00065 public:
00066     virtual void apply( KoWmfRead * );
00067     QFont font;
00068     int rotation;
00069 };
00070 
00071 #endif

Généré le Wed Nov 22 23:41:13 2006 pour KPlato par  doxygen 1.5.1-p1