home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / pstoedit.zip / source.zip / pstoedit.2.50 / src / drvcgm.h < prev    next >
C/C++ Source or Header  |  1996-10-04  |  1KB  |  52 lines

  1. #ifndef __drvCGM_h
  2. #define __drvCGM_h
  3.  
  4. /* 
  5.    drvcgm.h : This file is part of pstoedit
  6.     Class declaration for CGM backend
  7.  
  8.    Copyright (C) 1993,1994,1995,1996 Wolfgang Glunz, Wolfgang.Glunz@zfe.siemens.de
  9.  
  10.     This program is free software; you can redistribute it and/or modify
  11.     it under the terms of the GNU General Public License as published by
  12.     the Free Software Foundation; either version 2 of the License, or
  13.     (at your option) any later version.
  14.  
  15.     This program is distributed in the hope that it will be useful,
  16.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18.     GNU General Public License for more details.
  19.  
  20.     You should have received a copy of the GNU General Public License
  21.     along with this program; if not, write to the Free Software
  22.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23.  
  24. */
  25.  
  26. #include "drvbase.h"
  27.  
  28. struct cdImageStruct; // forward
  29. struct cdPointStruct; // forward
  30.  
  31. class drvCGM : public drvbase {
  32.  
  33. public:
  34.  
  35.     drvCGM(const char * driveroptions_P,ostream & theoutStream,ostream & theerrStream, bool binary); // Constructor
  36.  
  37.     ~drvCGM(); // Destructor
  38.  
  39.     virtual const char * const *    knownFontNames() const ;
  40.  
  41. #include "drvfuncs.h"
  42.  
  43.     unsigned int getcdcolor(float r, float g, float b);
  44.  
  45.     const bool binary_; // indicates whether to write binary or ascii cgm
  46.     cdPointStruct     *cdpoints;
  47.     cdImageStruct     *cgmimage;
  48.  
  49. };
  50.  
  51. #endif
  52.