Loading [MathJax]/extensions/tex2jax.js
ROOT
Version v6.22
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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
11
TCanvas
*diamond(){
12
TCanvas
*
c
=
new
TCanvas
(
"c"
);
13
TDiamond
*
d
=
new
TDiamond
(.05,.1,.95,.8);
14
15
d
->AddText(
"A TDiamond can contain any text."
);
16
17
d
->Draw();
18
return
c
;
19
}
d
#define d(i)
Definition:
RSha256.hxx:102
c
#define c(i)
Definition:
RSha256.hxx:101
TCanvas
The Canvas class.
Definition:
TCanvas.h:27
TDiamond
Draw a Diamond.
Definition:
TDiamond.h:17
tutorials
graphics
diamond.C
ROOT v6-22 - Reference Guide Generated on Fri Apr 1 2022 11:53:26 (GVA Time) using Doxygen 1.9.4