30 class TPDF :
public TVirtualPS {
37 std::vector<float> fAlphas;
42 Int_t fPageOrientation;
53 static Int_t fgLineJoin;
57 TPDF(
const char *filename, Int_t type=-111);
60 void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2);
61 void CellArrayFill(Int_t r, Int_t g, Int_t b);
63 void Close(Option_t *opt=
"");
64 Double_t CMtoPDF(Double_t u) {
return Int_t(0.5 + 72*u/2.54);}
65 void DrawBox(Double_t x1, Double_t y1,Double_t x2, Double_t y2);
66 void DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t yt,
67 Int_t mode, Int_t border, Int_t dark, Int_t light);
68 void DrawHatch(Float_t dy, Float_t angle, Int_t n, Float_t *x, Float_t *y);
69 void DrawHatch(Float_t dy, Float_t angle, Int_t n, Double_t *x, Double_t *y);
70 void DrawPolyLine(Int_t n, TPoints *xy);
71 void DrawPolyLineNDC(Int_t n, TPoints *uv);
72 void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y);
73 void DrawPolyMarker(Int_t n, Double_t *x, Double_t *y);
74 void DrawPS(Int_t n, Float_t *xw, Float_t *yw);
75 void DrawPS(Int_t n, Double_t *xw, Double_t *yw);
76 void LineTo(Double_t x, Double_t y);
77 void MoveTo(Double_t x, Double_t y);
79 void NewObject(Int_t n);
83 void Open(
const char *filename, Int_t type=-111);
85 void PrintFast(Int_t nch,
const char *
string=
"");
86 void PrintStr(
const char *
string=
"");
87 void Range(Float_t xrange, Float_t yrange);
88 void SetAlpha(Float_t alpha = 1.);
89 void SetColor(Int_t color = 1);
90 void SetColor(Float_t r, Float_t g, Float_t b);
91 void SetFillColor( Color_t cindex=1);
92 void SetFillPatterns(Int_t ipat, Int_t color);
93 void SetLineColor( Color_t cindex=1);
94 void SetLineJoin(Int_t linejoin=0);
95 void SetLineScale(Float_t scale=1) {fLineScale = scale;}
96 void SetLineStyle(Style_t linestyle = 1);
97 void SetLineWidth(Width_t linewidth = 1);
98 void SetMarkerColor( Color_t cindex=1);
99 void SetTextColor( Color_t cindex=1);
100 void Text(Double_t x, Double_t y,
const char *
string);
101 void Text(Double_t, Double_t,
const wchar_t *);
102 void TextNDC(Double_t u, Double_t v,
const char *
string);
103 void TextNDC(Double_t, Double_t,
const wchar_t *);
104 void WriteCompressedBuffer();
105 virtual void WriteReal(Float_t r, Bool_t space=kTRUE);
106 Double_t UtoPDF(Double_t u);
107 Double_t VtoPDF(Double_t v);
108 Double_t XtoPDF(Double_t x);
109 Double_t YtoPDF(Double_t y);