20 class TSVG :
public TVirtualPS {
32 TSVG(
const char *filename, Int_t type=-113);
35 void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2);
36 void CellArrayFill(Int_t r, Int_t g, Int_t b);
38 void Close(Option_t *opt=
"");
39 Double_t CMtoSVG(Double_t u) {
return 0.5 + 72*u/2.54;}
40 void DrawBox(Double_t x1, Double_t y1,Double_t x2, Double_t y2);
41 void DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t yt,
42 Int_t mode, Int_t border, Int_t dark, Int_t light);
43 void DrawPolyLine(Int_t n, TPoints *xy);
44 void DrawPolyLineNDC(Int_t n, TPoints *uv);
45 void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y);
46 void DrawPolyMarker(Int_t n, Double_t *x, Double_t *y);
47 void DrawPS(Int_t n, Float_t *xw, Float_t *yw);
48 void DrawPS(Int_t n, Double_t *xw, Double_t *yw);
50 void MovePS(Double_t x, Double_t y);
54 void Open(
const char *filename, Int_t type=-111);
55 void Range(Float_t xrange, Float_t yrange);
56 void SetColorAlpha(Int_t color = 1);
57 void SetColor(Int_t color = 1);
58 void SetColor(Float_t r, Float_t g, Float_t b);
59 void SetFillColor( Color_t cindex=1);
60 void SetLineColor( Color_t cindex=1);
61 void SetLineStyle(Style_t linestyle = 1);
62 void SetLineWidth(Width_t linewidth = 1);
63 void SetLineScale(Float_t =3) { }
64 void SetMarkerColor( Color_t cindex=1);
65 void SetTextColor( Color_t cindex=1);
66 void Text(Double_t x, Double_t y,
const char *
string);
67 void Text(Double_t, Double_t,
const wchar_t *){}
68 void TextNDC(Double_t u, Double_t v,
const char *
string);
69 void TextNDC(Double_t, Double_t,
const wchar_t *){}
70 Double_t UtoSVG(Double_t u);
71 Double_t VtoSVG(Double_t v);
72 Double_t XtoSVG(Double_t x);
73 Double_t YtoSVG(Double_t y);