ROOT  6.06/09
Reference Guide
entrylist_figure1.C
Go to the documentation of this file.
1 {
2 //=========Macro generated from canvas: c/c
3 //========= (Tue Jan 23 16:58:56 2007) by ROOT version5.15/01
4  TCanvas *c = new TCanvas("c", "c",213,172,460,253);
5  c->Range(0,0,1,1);
6  c->SetBorderSize(2);
7  c->SetFrameFillColor(0);
8 
9  TPaveText *pt = new TPaveText(0.00518135,0.810811,0.507772,0.989189,"br");
10  pt->SetFillColor(19);
11  pt->SetTextColor(4);
12  TText *text = pt->AddText("TEntryList for a TTree");
13  pt->Draw();
14 
15  pt = new TPaveText(0.0387597,0.483696,0.307494,0.657609,"br");
16  pt->SetFillColor(19);
17  text = pt->AddText("TEntryList");
18  pt->Draw();
19 
20  pt = new TPaveText(0.0363636,0.107527,0.306494,0.489247,"br");
21  pt->SetFillColor(19);
22  pt->SetTextFont(42);
23  text = pt->AddText("fBlocks");
24  text = pt->AddText("fLists = 0");
25  pt->Draw();
26 
27  pt = new TPaveText(0.338501,0.23913,0.627907,0.375,"br");
28  pt->SetBorderSize(1);
29  pt->SetFillColor(19);
30  text = pt->AddText("Info on entries 0-63999");
31  pt->Draw();
32 
33  pt = new TPaveText(0.643411,0.23913,0.989664,0.375,"br");
34  pt->SetBorderSize(1);
35  pt->SetFillColor(19);
36  text = pt->AddText("entries 64000-127999");
37  pt->Draw();
38 
39  pt = new TPaveText(0.423773,0.423913,0.870801,0.576087,"br");
40  pt->SetFillColor(19);
41  text = pt->AddText("TObjArray of TEntryListBlock objects");
42  pt->Draw();
43  TArrow *arrow = new TArrow(0.277202,0.356757,0.418605,0.505435,0.05,">");
44  arrow->SetFillColor(1);
45  arrow->SetFillStyle(1001);
46  arrow->Draw();
47  return c;
48 }
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
Definition: TPaveText.cxx:211
return c
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
Definition: TPaveText.cxx:160
virtual void SetFillStyle(Style_t fstyle)
Definition: TAttFill.h:52
virtual void SetTextFont(Font_t tfont=62)
Definition: TAttText.h:59
virtual void Draw(Option_t *option="")
Draw this arrow with its current attributes.
Definition: TArrow.cxx:121
Base class for several text objects.
Definition: TText.h:42
virtual void SetFillColor(Color_t fcolor)
Definition: TAttFill.h:50
virtual void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Set world coordinate system for the pad.
Definition: TPad.cxx:4627
The Canvas class.
Definition: TCanvas.h:48
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:35
virtual void SetTextColor(Color_t tcolor=1)
Definition: TAttText.h:57
void SetFrameFillColor(Color_t color=1)
Definition: TAttPad.h:83
virtual void SetBorderSize(Short_t bordersize)
Definition: TPad.h:317
Draw all kinds of Arrows.
Definition: TArrow.h:35
virtual void SetBorderSize(Int_t bordersize=4)
Definition: TPave.h:82