Logo ROOT   6.10/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

◆ Draw()

tt Draw ( )

◆ DrawArc()

a DrawArc ( 0.  1,
0.  1,
0.  2,
0.  ,
45.  ,
"only"   
)

◆ DrawLine()

l DrawLine ( 0.  1,
0.  1,
0.  9,
0.  1 
)

◆ DrawMarker()

m DrawMarker ( 0.  1,
0.  1 
)

◆ Range()

Ta Range ( ,
,
,
 
)

◆ SetFillStyle()

a SetFillStyle ( )

◆ SetLineColor() [1/2]

l SetLineColor ( kRed  )

◆ SetLineColor() [2/2]

a SetLineColor ( kBlue  )

◆ SetLineStyle()

a SetLineStyle ( )

◆ SetMarkerColor()

m SetMarkerColor ( kBlue  )

◆ SetMarkerStyle()

m SetMarkerStyle ( 20  )

◆ SetTextAlign()

tt SetTextAlign ( 11  )

◆ SetTextAngle()

tt SetTextAngle ( 45  )

◆ SetTextSize()

tt SetTextSize ( 0.  1)

Variable Documentation

◆ a

TArc* a = new TArc()

Definition at line 12 of file textangle.C.

◆ l

TLine* l = new TLine()

Definition at line 4 of file textangle.C.

◆ m

TMarker* m = new TMarker()

Definition at line 8 of file textangle.C.

◆ t1

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

Definition at line 20 of file textangle.C.

◆ Ta

return Ta

Definition at line 22 of file textangle.C.

◆ tt

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

Definition at line 16 of file textangle.C.