12 #ifndef ROOT_TImageDump
13 #define ROOT_TImageDump
22 class TImageDump :
public TVirtualPS {
27 Int_t XtoPixel(Double_t x);
28 Int_t YtoPixel(Double_t y);
29 void DrawDashPolyLine(Int_t npoints, TPoint *pt, UInt_t nDash,
30 const char* pDash,
const char* col, UInt_t thick);
34 TImageDump(
const char *filename, Int_t type = -111);
35 virtual ~TImageDump();
37 void CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2, Double_t y1, Double_t y2);
38 void CellArrayFill(Int_t r, Int_t g, Int_t b);
40 void Close(Option_t *opt =
"");
41 void DrawBox(Double_t x1, Double_t y1,Double_t x2, Double_t y2);
42 void DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t yt,
43 Int_t mode, Int_t border, Int_t dark, Int_t light);
44 void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y);
45 void DrawPolyMarker(Int_t n, Double_t *x, Double_t *y);
46 void DrawPS(Int_t n, Float_t *xw, Float_t *yw);
47 void DrawPS(Int_t n, Double_t *xw, Double_t *yw);
49 void Open(
const char *filename, Int_t type = -111);
50 void Text(Double_t x, Double_t y,
const char *
string);
51 void Text(Double_t x, Double_t y,
const wchar_t *
string);
52 void SetColor(Float_t r, Float_t g, Float_t b);
53 void *GetStream()
const {
return (
void*)fImage; }
54 void SetType(Int_t type = -111) { fType = type; }
55 Int_t GetType()
const {
return fType; }
56 TImage *GetImage()
const {
return fImage; }
58 ClassDef(TImageDump,0)