ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diamond.C File Reference

Draw a diamond. More...

Go to the source code of this file.

Detailed Description

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.