Logo ROOT   6.16/01
Reference Guide
Functions | Variables
textalign.C File Reference

Functions

th1 Draw ()
 
lv DrawLine (0.33, 0.0, 0.33, 1.0)
 
lv DrawLine (0.6, 0.165, 1., 0.165)
 
Ta Range (0, 0, 1, 1)
 
lv SetLineColor (kBlue)
 
lv SetLineStyle (3)
 
th1 SetTextAlign (11)
 
tv2 SetTextAlign (12)
 
tv3 SetTextAlign (13)
 
th2 SetTextAlign (21)
 
th3 SetTextAlign (31)
 
th1 SetTextSize (0.12)
 

Variables

auto * lv = new TLine
 
auto * th1 = new TText(0.33,0.165,"Left adjusted")
 
auto * th2 = new TText(0.33,0.493,"Center adjusted")
 
auto * th3 = new TText(0.33,0.823,"Right adjusted")
 
auto * tv1 = new TText(0.66,0.165,"Bottom adjusted")
 
auto * tv2 = new TText(0.66,0.493,"Center adjusted")
 
auto * tv3 = new TText(0.66,0.823,"Top adjusted")
 

Function Documentation

◆ Draw()

line Draw ( )

◆ DrawLine() [1/2]

lv DrawLine ( 0.  33,
0.  0,
0.  33,
1.  0 
)

◆ DrawLine() [2/2]

lv DrawLine ( 0.  6,
0.  165,
1.  ,
0.  165 
)

◆ Range()

Ta Range ( ,
,
,
 
)

◆ SetLineColor()

lv SetLineColor ( kBlue  )

◆ SetLineStyle()

lv SetLineStyle ( )

◆ SetTextAlign() [1/5]

tv1 SetTextAlign ( 11  )

◆ SetTextAlign() [2/5]

tv2 SetTextAlign ( 12  )

◆ SetTextAlign() [3/5]

tv3 SetTextAlign ( 13  )

◆ SetTextAlign() [4/5]

th2 SetTextAlign ( 21  )

◆ SetTextAlign() [5/5]

th3 SetTextAlign ( 31  )

◆ SetTextSize()

pt SetTextSize ( 0.  12)

Variable Documentation

◆ lv

auto* lv = new TLine

Definition at line 5 of file textalign.C.

◆ th1

auto* th1 = new TText(0.33,0.165,"Left adjusted")

Definition at line 13 of file textalign.C.

◆ th2

auto* th2 = new TText(0.33,0.493,"Center adjusted")

Definition at line 17 of file textalign.C.

◆ th3

auto* th3 = new TText(0.33,0.823,"Right adjusted")

Definition at line 21 of file textalign.C.

◆ tv1

auto* tv1 = new TText(0.66,0.165,"Bottom adjusted")

Definition at line 26 of file textalign.C.

◆ tv2

auto* tv2 = new TText(0.66,0.493,"Center adjusted")

Definition at line 30 of file textalign.C.

◆ tv3

auto* tv3 = new TText(0.66,0.823,"Top adjusted")

Definition at line 34 of file textalign.C.