Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
diamond.C
Go to the documentation of this file.
1/// \file
2/// \ingroup tutorial_graphics
3/// \notebook
4/// Draw a diamond.
5///
6/// \macro_image
7/// \macro_code
8///
9/// \author Olivier Couet
10
11void diamond(){
12 auto d = new TDiamond(.05,.1,.95,.8);
13 d->AddText("A TDiamond can contain any text.");
14 d->Draw();
15}
#define d(i)
Definition RSha256.hxx:102
Draw a Diamond.
Definition TDiamond.h:17