ROOT  6.06/08
Reference Guide
Functions | Variables
textalign.C File Reference

Go to the source code of this file.

Functions

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

Variables

TLinelv = new TLine
 
TTextth1 = new TText(0.33,0.165,"Left adjusted")
 
TTextth2 = new TText(0.33,0.493,"Center adjusted")
 
TTextth3 = new TText(0.33,0.823,"Right adjusted")
 
TTexttv1 = new TText(0.66,0.165,"Bottom adjusted")
 
TTexttv2 = new TText(0.66,0.493,"Center adjusted")
 
TTexttv3 = new TText(0.66,0.823,"Top adjusted")
 
return Ta
 

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]

th2 SetTextAlign ( 21  )

§ SetTextAlign() [3/5]

th3 SetTextAlign ( 31  )

§ SetTextAlign() [4/5]

tv2 SetTextAlign ( 12  )

§ SetTextAlign() [5/5]

tv3 SetTextAlign ( 13  )

§ SetTextSize()

pt SetTextSize ( 0.  12)

Variable Documentation

§ lv

TLine* lv = new TLine

§ Ta

return Ta

Definition at line 38 of file textalign.C.

§ th1

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

§ th2

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

§ th3

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

§ tv1

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

Definition at line 26 of file textalign.C.

§ tv2

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

Definition at line 30 of file textalign.C.

§ tv3

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

Definition at line 34 of file textalign.C.