lib Library API Documentation

kowmfstack.h

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., 59 Temple Place - Suite 330,
00017    Boston, MA 02111-1307, USA.
00018 */
00019 #ifndef _KOWMFSTACK_H_
00020 #define _KOWMFSTACK_H_
00021 
00022 #include <qpen.h>
00023 #include <qcolor.h>
00024 #include <qfont.h>
00025 #include <qbrush.h>
00026 #include <qpixmap.h>
00027 
00028 class KoWmfRead;
00029 
00034 class KoWmfHandle
00035 {
00036 public:
00037     virtual void apply( KoWmfRead * ) = 0;
00038 };
00039 
00040 class KoWmfBrushHandle: public KoWmfHandle
00041 {
00042 public:
00043     virtual ~KoWmfBrushHandle() {};
00044     virtual void apply( KoWmfRead * );
00045     QBrush brush;
00046 };
00047 
00048 class KoWmfPenHandle: public KoWmfHandle
00049 {
00050 public:
00051     virtual ~KoWmfPenHandle() {};
00052     virtual void apply( KoWmfRead * );
00053     QPen pen;
00054 };
00055 
00056 class KoWmfPatternBrushHandle: public KoWmfHandle
00057 {
00058 public:
00059     virtual ~KoWmfPatternBrushHandle() {};
00060     virtual void apply( KoWmfRead * );
00061     QBrush brush;
00062     QPixmap image;
00063 };
00064 
00065 class KoWmfFontHandle: public KoWmfHandle
00066 {
00067 public:
00068     virtual ~KoWmfFontHandle() {};
00069     virtual void apply( KoWmfRead * );
00070     QFont font;
00071     int rotation;
00072 };
00073 
00074 #endif
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:40:14 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003