20#include "RConfigure.h" 
   23#   define X_DISPLAY_MISSING 1 
   24#   define popen_flags "r" 
   26#   include "Windows4root.h" 
   27#   define popen_flags "rb" 
   30#   define popen_flags "r" 
   34#   include <afterbase.h> 
   36#   include <win32/config.h> 
   37#   include <win32/afterbase.h> 
   38#   define X_DISPLAY_MISSING 1 
   79      Warning(
"File2ASImage", 
"GhostScript is not available");
 
  107         if (
line.IsNull() || !
line.BeginsWith(
"%")) 
break;
 
  109         if (
line.BeginsWith(
"%%BoundingBox:")) {
 
  127   cmd += 
" -dSAFER -dBATCH -dNOPAUSE -dQUIET -sDEVICE=png16m -dGraphicsAlphaBits=4 -sOutputFile=- ";
 
  141      raw.
Append((
const char*)&buf, 
r);
 
  148   params.width = 
width;
 
  152   params.gamma_table = 
nullptr;
 
  153   params.compression = 0;
 
  155   params.search_path = 
nullptr;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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
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 r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char * StrDup(const char *str)
Duplicate the string str.
R__EXTERN TSystem * gSystem
Allows to read PS/EPS/PDF files via GhostScript.
char * fInterpreter
path to GhostScript interpreter
~TASPluginGS() override
dtor
TASPluginGS(const char *ext)
ctor
ASImage * File2ASImage(const char *filename) override
read PS/EPS/PDF file and convert it to ASImage
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
const char * Data() const
TString & Append(const char *cs)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
virtual const char * Getenv(const char *env)
Get environment variable.
virtual FILE * OpenPipe(const char *command, const char *mode)
Open a pipe.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
virtual int ClosePipe(FILE *pipe)
Close the pipe.
virtual char * Which(const char *search, const char *file, EAccessMode mode=kFileExists)
Find location of file in a search path.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.