Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
diamond.C File Reference

Detailed Description

View in nbviewer Open in SWAN 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;
}
#define d(i)
Definition RSha256.hxx:102
#define c(i)
Definition RSha256.hxx:101
The Canvas class.
Definition TCanvas.h:23
Draw a Diamond.
Definition TDiamond.h:17
Author
Olivier Couet

Definition in file diamond.C.