ROOT
tags/v6-34-10
Reference Guide
Loading...
Searching...
No Matches
crown.C File Reference
Tutorials
»
Graphics tutorials
Detailed Description
Draw crowns.
void
crown
(){
auto
c1
=
new
TCanvas
(
"c1"
,
"c1"
,400,400);
auto
cr1
=
new
TCrown
(.5,.5,.3,.4);
cr1
->SetLineStyle(2);
cr1
->SetLineWidth(4);
cr1
->Draw();
auto
cr2
=
new
TCrown
(.5,.5,.2,.3,45,315);
cr2
->SetFillColor(38);
cr2
->SetFillStyle(3010);
cr2
->Draw();
auto
cr3
=
new
TCrown
(.5,.5,.2,.3,-45,45);
cr3
->SetFillColor(50);
cr3
->SetFillStyle(3025);
cr3
->Draw();
auto
cr4
=
new
TCrown
(.5,.5,.0,.2);
cr4
->SetFillColor(4);
cr4
->SetFillStyle(3008);
cr4
->Draw();
}
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TCrown
To draw a Crown.
Definition
TCrown.h:19
c1
return c1
Definition
legend1.C:41
Author
Olivier Couet
Definition in file
crown.C
.
tutorials
graphics
crown.C
ROOT tags/v6-34-10 - Reference Guide Generated on Mon Jun 30 2025 10:56:44 (GVA Time) using Doxygen 1.10.0