15 c1->Range(0,-0.25,21,14);
25 fileh->SetFillColor(44);
28 lrh->SetFillColor(33);
30 lrh->DrawPave(6.9,8.5,7.7,11,1);
31 lrh->DrawPave(10.5,8.5,11.3,11,1);
32 lrh->DrawPave(14.5,8.5,15.3,11,1);
34 ldot->SetLineStyle(2);
36 ldot->DrawLine(2.5, 8.5, 9.4, 6.5);
37 ldot->DrawLine(10.5, 8.5, 10, 6.5);
38 ldot->DrawLine(11.3, 8.5, 19.5, 6.5);
43 arrow->SetFillStyle(1001);
47 arrow->DrawArrow( 10.6,8, 10.6, 8.4,0.01,
"|>");
50 arrow->DrawArrow( 14.6,11.5, 14.6,11.1,0.01,
"|>");
53 ldot->DrawLine(16, 8, 19, 8);
55 vert->SetTextAlign(21);
56 vert->SetTextAngle(90);
57 vert->SetTextSize(0.025);
59 vert->DrawText(2.0, 9.75,
"Header");
60 vert->DrawText(2.9, 9.75,
"Logical Record");
61 vert->DrawText(3.2, 9.75,
"Header");
62 vert->DrawText(7.3, 9.75,
"Logical Record");
63 vert->DrawText(7.6, 9.75,
"Header");
64 vert->DrawText(10.9,9.75,
"Logical Record");
65 vert->DrawText(11.2,9.75,
"Header");
66 vert->DrawText(14.9,9.75,
"Logical Record");
67 vert->DrawText(15.2,9.75,
"Header");
69 hori->SetTextAlign(22);
70 hori->SetTextSize(0.035);
72 hori->DrawText(4.75, 9.5,
"Data");
73 hori->DrawText(9.2, 10,
"Deleted");
74 hori->DrawText(9.2, 9.5,
"Object");
78 tbig->SetTextAlign(22);
79 tbig->SetTextSize(0.03);
81 tbig->DrawText(2.6, 7,
"fBEGIN");
82 tbig->DrawText(20., 7,
"fEND");
83 arrow->DrawArrow( 2.6,7, 2.6,8.4,0.01,
"|>");
84 arrow->DrawArrow( 20,7, 20,8.4,0.01,
"|>");
97 header->
AddText(
"\"root\": Root File Identifier");
98 header->
AddText(
"fVersion: File version identifier");
99 header->
AddText(
"fBEGIN: Pointer to first data record");
100 header->
AddText(
"fEND: Pointer to first free word at EOF");
101 header->
AddText(
"fSeekFree: Pointer to FREE data record");
102 header->
AddText(
"fNbytesFree: Number of bytes in FREE");
103 header->
AddText(
"fNfree: Number of free data records");
104 header->
AddText(
"fNbytesName: Number of bytes in name/title");
105 header->
AddText(
"fUnits: Number of bytes for pointers");
106 header->
AddText(
"fCompress: Compression level");
113 tlrh->SetTextAlign(22);
114 tlrh->SetTextSize(0.04);
119 lrecord->AddText(
"fNbytes: Length of compressed object");
120 lrecord->AddText(
"fVersion: Key version identifier");
121 lrecord->AddText(
"fObjLen: Length of uncompressed object");
122 lrecord->AddText(
"fDatime: Date/Time when written to store");
123 lrecord->AddText(
"fKeylen: Number of bytes for the key");
124 lrecord->AddText(
"fCycle : Cycle number");
125 lrecord->AddText(
"fSeekKey: Pointer to object on file");
126 lrecord->AddText(
"fSeekPdir: Pointer to directory on file");
127 lrecord->AddText(
"fClassName: class name of the object");
128 lrecord->AddText(
"fName: name of the object");
129 lrecord->AddText(
"fTitle: title of the object");
132 c1->Print(
"file.png");
Draw all kinds of Arrows.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
Use the TLine constructor to create a simple line.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual TLine * AddLine(Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0)
Add a new graphics line to this pavetext.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
A TBox with a bordersize and a shadow option.
void Draw(Option_t *option="") override
Draw this pave with its current attributes.
Base class for several text objects.