ROOT  6.06/09
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

TCanvasTa = new TCanvas("Ta","Ta",0,0,500,200)
 
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")
 

Function Documentation

line Draw ( )
lv DrawLine ( 0.  33,
0.  0,
0.  33,
1.  0 
)
lv DrawLine ( 0.  6,
0.  165,
1.  ,
0.  165 
)
Ta Range ( ,
,
,
 
)
lv SetLineColor ( kBlue  )
lv SetLineStyle ( )
tv1 SetTextAlign ( 11  )
th2 SetTextAlign ( 21  )
th3 SetTextAlign ( 31  )
tv2 SetTextAlign ( 12  )
tv3 SetTextAlign ( 13  )
pt SetTextSize ( 0.  12)

Variable Documentation

TLine* lv = new TLine
return Ta = new TCanvas("Ta","Ta",0,0,500,200)

Definition at line 2 of file textalign.C.

TText* th1 = new TText(0.33,0.165,"Left adjusted")
TText* th2 = new TText(0.33,0.493,"Center adjusted")
TText* th3 = new TText(0.33,0.823,"Right adjusted")
TText* tv1 = new TText(0.66,0.165,"Bottom adjusted")

Definition at line 26 of file textalign.C.

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

Definition at line 30 of file textalign.C.

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

Definition at line 34 of file textalign.C.