Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "TASImagePlugin.h"
23
24
26
27private:
28 char *fInterpreter; ///< path to GhostScript interpreter
29
30public:
31 TASPluginGS(const char *ext);
32 ~TASPluginGS() override;
33
34 ULong_t Hash() const override { return fExtension.Hash(); }
35
36 ASImage *File2ASImage(const char *filename) override;
37
38 ClassDefOverride(TASPluginGS, 0) // PS/EPS/PDF plugin based on GhostScript interpreter
39};
40
41#endif
unsigned long ULong_t
Definition RtypesCore.h:55
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Allows to read PS/EPS/PDF files via GhostScript.
Definition TASPluginGS.h:25
char * fInterpreter
path to GhostScript interpreter
Definition TASPluginGS.h:28
~TASPluginGS() override
dtor
ULong_t Hash() const override
Return hash value for this object.
Definition TASPluginGS.h:34
ASImage * File2ASImage(const char *filename) override
read PS/EPS/PDF file and convert it to ASImage
TString fExtension
file extension
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
Definition TString.cxx:670