Logo ROOT   6.10/09
Reference Guide
diamond.C File Reference

Detailed Description

View in nbviewer Open in SWAN Draw a diamond.

pict1_diamond.C.png
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;
}
Author
Olivier Couet

Definition in file diamond.C.