Logo ROOT   6.07/09
Reference Guide
Functions | Variables
textangle.C File Reference

Functions

tt Draw ()
 
a DrawArc (0.1, 0.1, 0.2, 0., 45.,"only")
 
l DrawLine (0.1, 0.1, 0.9, 0.1)
 
m DrawMarker (0.1, 0.1)
 
Ta Range (0, 0, 1, 1)
 
a SetFillStyle (0)
 
l SetLineColor (kRed)
 
a SetLineColor (kBlue)
 
a SetLineStyle (3)
 
m SetMarkerColor (kBlue)
 
m SetMarkerStyle (20)
 
tt SetTextAlign (11)
 
tt SetTextAngle (45)
 
tt SetTextSize (0.1)
 

Variables

TArca = new TArc()
 
TLinel = new TLine()
 
TMarkerm = new TMarker()
 
TLatext1 = new TLatex(0.3,0.18,"45^{o}")
 
return Ta
 
TTexttt = new TText(0.1,0.1,"Text angle is 45 degrees")
 

Function Documentation

tt Draw ( )
a DrawArc ( 0.  1,
0.  1,
0.  2,
0.  ,
45.  ,
"only"   
)
l DrawLine ( 0.  1,
0.  1,
0.  9,
0.  1 
)
m DrawMarker ( 0.  1,
0.  1 
)
Ta Range ( ,
,
,
 
)
a SetFillStyle ( )
l SetLineColor ( kRed  )
a SetLineColor ( kBlue  )
a SetLineStyle ( )
m SetMarkerColor ( kBlue  )
m SetMarkerStyle ( 20  )
tt SetTextAlign ( 11  )
tt SetTextAngle ( 45  )
tt SetTextSize ( 0.  1)

Variable Documentation

TArc* a = new TArc()

Definition at line 12 of file textangle.C.

TLine* l = new TLine()

Definition at line 4 of file textangle.C.

TMarker* m = new TMarker()

Definition at line 8 of file textangle.C.

TLatex* t1 = new TLatex(0.3,0.18,"45^{o}")

Definition at line 20 of file textangle.C.

return Ta

Definition at line 22 of file textangle.C.

TText* tt = new TText(0.1,0.1,"Text angle is 45 degrees")

Definition at line 16 of file textangle.C.