ROOT
v6-24
Reference Guide
Loading...
Searching...
No Matches
diamond.C File Reference
Tutorials
»
Graphics tutorials
Detailed Description
Draw a diamond.
TCanvas
*diamond(){
TCanvas
*
c
=
new
TCanvas
(
"c"
);
TDiamond
*
d
=
new
TDiamond
(.05,.1,.95,.8);
d
->AddText(
"A TDiamond can contain any text."
);
d
->Draw();
return
c
;
}
d
#define d(i)
Definition
RSha256.hxx:102
c
#define c(i)
Definition
RSha256.hxx:101
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TDiamond
Draw a Diamond.
Definition
TDiamond.h:17
Author
Olivier Couet
Definition in file
diamond.C
.
tutorials
graphics
diamond.C
ROOT v6-24 - Reference Guide Generated on Tue Aug 22 2023 03:07:15 (GVA Time) using Doxygen 1.9.8