6 float d2rad = asin(1)/90.;
7 float fStep = d2rad*360./10;
8 float f0 = 90.*d2rad - 2*fStep;
9 D[1] = D[0]*cos(2*fStep)/cos(fStep);
11 TCanvas cc(
"STARC",
"STARC",0,0,400,400);
12 TPad pad(
"STAR",
"STAR",0,0,1,1);
19 for (j=0;j<10;j++,f0+=fStep){
21 sLine.SetPoint(j,d*cos(f0)+0.5,d*sin(f0)+0.45);
25 sLine.SetFillColor(19);
26 sLine.SetLineColor(2);
27 sLine.SetLineWidth(7);
29 TLatex *text =
new TLatex(0.49,0.43,
"STAR");
30 text->SetTextColor(2);
31 text->SetTextFont(52);
32 text->SetTextSize(0.2);
33 text->SetLineWidth(4);