#ifndef ROOT_TPostScript
#define ROOT_TPostScript
#ifndef ROOT_TVirtualPS
#include "TVirtualPS.h"
#endif
class TPoints;
class TPostScript : public TVirtualPS {
protected:
Float_t fX1v;
Float_t fY1v;
Float_t fX2v;
Float_t fY2v;
Float_t fX1w;
Float_t fY1w;
Float_t fX2w;
Float_t fY2w;
Float_t fDXC;
Float_t fDYC;
Float_t fXC;
Float_t fYC;
Float_t fFX;
Float_t fFY;
Float_t fXVP1;
Float_t fXVP2;
Float_t fYVP1;
Float_t fYVP2;
Float_t fXVS1;
Float_t fXVS2;
Float_t fYVS1;
Float_t fYVS2;
Float_t fXsize;
Float_t fYsize;
Float_t fMaxsize;
Float_t fRed;
Float_t fGreen;
Float_t fBlue;
Float_t fLineScale;
Int_t fLineJoin;
Int_t fSave;
Int_t fNXzone;
Int_t fNYzone;
Int_t fIXzone;
Int_t fIYzone;
Float_t fMarkerSizeCur;
Int_t fCurrentColor;
Int_t fNpages;
Int_t fType;
Int_t fMode;
Int_t fClip;
Bool_t fBoundingBox;
Bool_t fClear;
Bool_t fClipStatus;
Bool_t fRange;
Bool_t fZone;
char fPatterns[32];
Int_t fNbinCT;
Int_t fNbCellW;
Int_t fNbCellLine;
Int_t fMaxLines;
Int_t fLastCellRed;
Int_t fLastCellGreen;
Int_t fLastCellBlue;
Int_t fNBSameColorCell;
static Int_t fgLineJoin;
public:
TPostScript();
TPostScript(const char *filename, Int_t type=-111);
virtual ~TPostScript();
void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2,
Double_t y1, Double_t y2);
void CellArrayFill(Int_t r, Int_t g, Int_t b);
void CellArrayEnd();
void Close(Option_t *opt="");
Int_t CMtoPS(Double_t u) {return Int_t(0.5 + 72*u/2.54);}
void DefineMarkers();
void DrawBox(Double_t x1, Double_t y1,Double_t x2, Double_t y2);
void DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t yt,
Int_t mode, Int_t border, Int_t dark, Int_t light);
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x,
Float_t *y);
void DrawHatch(Float_t dy, Float_t angle, Int_t n, Double_t *x,
Double_t *y);
void DrawPolyLine(Int_t n, TPoints *xy);
void DrawPolyLineNDC(Int_t n, TPoints *uv);
void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y);
void DrawPolyMarker(Int_t n, Double_t *x, Double_t *y);
void DrawPS(Int_t n, Float_t *xw, Float_t *yw);
void DrawPS(Int_t n, Double_t *xw, Double_t *yw);
void FontEncode();
void Initialize();
void NewPage();
void Off();
void On();
void Open(const char *filename, Int_t type=-111);
void SaveRestore(Int_t flag);
void SetFillColor( Color_t cindex=1);
void SetFillPatterns(Int_t ipat, Int_t color);
void SetLineColor( Color_t cindex=1);
void SetLineJoin(Int_t linejoin=0);
void SetLineStyle(Style_t linestyle = 1);
void SetLineWidth(Width_t linewidth = 1);
void SetLineScale(Float_t scale=3) {fLineScale = scale;}
void SetMarkerColor( Color_t cindex=1);
void SetTextColor( Color_t cindex=1);
void MakeGreek();
void MovePS(Int_t x, Int_t y);
void Range(Float_t xrange, Float_t yrange);
void SetColor(Int_t color = 1);
void SetColor(Float_t r, Float_t g, Float_t b);
void Text(Double_t x, Double_t y, const char *string);
void TextNDC(Double_t u, Double_t v, const char *string);
Int_t UtoPS(Double_t u);
Int_t VtoPS(Double_t v);
Int_t XtoPS(Double_t x);
Int_t YtoPS(Double_t y);
void Zone();
ClassDef(TPostScript,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.