38 TPad *
pad1 =
new TPad(
"pad1",
"This is pad1", 0.05, 0.52, 0.95, 0.97);
39 TPad *
pad2 =
new TPad(
"pad2",
"This is pad2", 0.05, 0.02, 0.95, 0.47);
40 pad1->SetFillColor(11);
41 pad2->SetFillColor(11);
49 TPad *
pad21 =
new TPad(
"pad21",
"First subpad of pad2", 0.02, 0.05, 0.48, 0.95, 17, 3);
50 TPad *
pad22 =
new TPad(
"pad22",
"Second subpad of pad2", 0.52, 0.05, 0.98, 0.95, 17, 3);
60 t1->SetTextSize(0.05);
62 TLine *line1 =
new TLine(0.05, 0.05, 0.80, 0.70);
67 TLine *line2 =
new TLine(0.05, 0.70, 0.50, 0.10);
74 t21->SetTextSize(0.1);
79 paves->AddText(
"This is a PavesText");
80 paves->AddText(
"You can add new lines");
81 paves->AddText(
"Text formatting is automatic");
82 paves->SetFillColor(43);
86 t22->SetTextSize(0.1);
102 float t10 =
t1->GetTextSize();
106 for (
int i = 0; i <
nloops; i++) {
111 t1->SetTextColor(color);
R__EXTERN TBenchmark * gBenchmark
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
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.
The most important graphics class in the ROOT system.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
virtual void SetY1NDC(Double_t y1)
virtual void SetY2NDC(Double_t y2)
virtual void SetX1NDC(Double_t x1)
virtual void SetX2NDC(Double_t x2)
A PaveText (see TPaveText) with several stacked paves.
Base class for several text objects.