Logo ROOT  
Reference Guide
entrylist_figure1.C
Go to the documentation of this file.
1{
2 TCanvas *c = new TCanvas("c", "c",213,172,460,253);
3 c->Range(0,0,1,1);
4 c->SetBorderSize(2);
5 c->SetFrameFillColor(0);
6
7 TPaveText *pt = new TPaveText(0.00518135,0.810811,0.507772,0.989189,"br");
10 TText *text = pt->AddText("TEntryList for a TTree");
11 pt->Draw();
12
13 pt = new TPaveText(0.0387597,0.483696,0.307494,0.657609,"br");
15 text = pt->AddText("TEntryList");
16 pt->Draw();
17
18 pt = new TPaveText(0.0363636,0.107527,0.306494,0.489247,"br");
21 text = pt->AddText("fBlocks");
22 text = pt->AddText("fLists = 0");
23 pt->Draw();
24
25 pt = new TPaveText(0.338501,0.23913,0.627907,0.375,"br");
28 text = pt->AddText("Info on entries 0-63999");
29 pt->Draw();
30
31 pt = new TPaveText(0.643411,0.23913,0.989664,0.375,"br");
32 pt->SetBorderSize(1);
34 text = pt->AddText("entries 64000-127999");
35 pt->Draw();
36
37 pt = new TPaveText(0.423773,0.423913,0.870801,0.576087,"br");
39 text = pt->AddText("TObjArray of TEntryListBlock objects");
40 pt->Draw();
41 TArrow *arrow = new TArrow(0.277202,0.356757,0.418605,0.505435,0.05,">");
42 arrow->SetFillColor(1);
43 arrow->SetFillStyle(1001);
44 arrow->Draw();
45}
#define c(i)
Definition: RSha256.hxx:101
@ kWhite
Definition: Rtypes.h:63
Draw all kinds of Arrows.
Definition: TArrow.h:29
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Definition: TAttFill.h:37
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
Definition: TAttText.h:43
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
Definition: TAttText.h:45
The Canvas class.
Definition: TCanvas.h:27
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:21
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:182
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
Definition: TPaveText.cxx:233
virtual void SetBorderSize(Int_t bordersize=4)
Definition: TPave.h:73
Base class for several text objects.
Definition: TText.h:23
TPaveText * pt
TText * text