Logo ROOT   6.10/00
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
 
th2 SetTextAlign (21)
 
th3 SetTextAlign (31)
 
tv2 SetTextAlign (12)
 
tv3 SetTextAlign (13)
 
th1 SetTextSize (0.12)
 

Variables

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

Definition at line 5 of file textalign.C.

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")

Definition at line 13 of file textalign.C.

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

Definition at line 17 of file textalign.C.

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

Definition at line 21 of file textalign.C.

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.