Logo ROOT   6.08/07
Reference Guide
TASPluginGS.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Valeriy Onuchin 23/06/05
3 
4 /*************************************************************************
5  * Copyright (C) 2001-2002, Rene Brun, Fons Rademakers *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TASPluginGS
13 #define ROOT_TASPluginGS
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TASPluginGS //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 #ifndef ROOT_TASImagePlugin
23 #include "TASImagePlugin.h"
24 #endif
25 
26 
27 class TASPluginGS : public TASImagePlugin {
28 
29 private:
30  char *fInterpreter; ///< path to GhostScript interpreter
31 
32 public:
33  TASPluginGS(const char *ext);
34  virtual ~TASPluginGS();
35 
36  ASImage *File2ASImage(const char *filename);
37 
38  ClassDef(TASPluginGS, 0) // PS/EPS/PDF plugin based on GhostScript interpreter
39 };
40 
41 #endif
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual ~TASPluginGS()
dtor
Definition: TASPluginGS.cxx:67
TASPluginGS(const char *ext)
ctor
Definition: TASPluginGS.cxx:50
ASImage * File2ASImage(const char *filename)
read PS/EPS/PDF file and convert it to ASImage
Definition: TASPluginGS.cxx:76
Allows to read PS/EPS/PDF files via GhostScript.
Definition: TASPluginGS.h:27
char * fInterpreter
path to GhostScript interpreter
Definition: TASPluginGS.h:30