Loading [MathJax]/extensions/tex2jax.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
graf2d
cocoa
inc
CocoaGuiTypes.h
Go to the documentation of this file.
1
#ifndef ROOT_CocoaGuiTypes
2
#define ROOT_CocoaGuiTypes
3
4
//This file extends ROOT's GuiTypes.h with additional types I need - Point/Rectangle which can use integers (not short integers).
5
//To be used in copy:xxxxx methods of X11Drawables and somewhere else.
6
//It's a shame I have to write such "classes" :))
7
8
namespace
ROOT
{
9
namespace
MacOSX {
10
namespace
X11
{
11
12
struct
Point
{
13
int
fX
;
14
int
fY
;
15
16
Point
();
17
Point
(
int
x
,
int
y
);
18
};
19
20
struct
Rectangle
{
21
int
fX
;
22
int
fY
;
23
24
unsigned
fWidth
;
25
unsigned
fHeight
;
26
27
Rectangle
();
28
Rectangle
(
int
x
,
int
y
,
unsigned
w,
unsigned
h
);
29
};
30
31
}
//X11
32
}
//MacOSX
33
}
//ROOT
34
35
#endif
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21
h
TH1 * h
Definition:
legend2.C:5
ROOT::MacOSX::X11::Rectangle
Definition:
CocoaGuiTypes.h:20
ROOT::MacOSX::X11::Rectangle::fHeight
unsigned fHeight
Definition:
CocoaGuiTypes.h:25
ROOT::MacOSX::X11::Point::fY
int fY
Definition:
CocoaGuiTypes.h:14
ROOT::MacOSX::X11::Point::fX
int fX
Definition:
CocoaGuiTypes.h:13
x
Double_t x[n]
Definition:
legend1.C:17
ROOT::MacOSX::X11::Rectangle::fX
int fX
Definition:
CocoaGuiTypes.h:21
ROOT::MacOSX::X11
Definition:
CocoaGuiTypes.h:10
ROOT::MacOSX::X11::Rectangle::fWidth
unsigned fWidth
Definition:
CocoaGuiTypes.h:24
ROOT::MacOSX::X11::Point
Definition:
CocoaGuiTypes.h:12
ROOT::MacOSX::X11::Point::Point
Point()
Definition:
CocoaGuiTypes.mm:8
y
Double_t y[n]
Definition:
legend1.C:17
ROOT::MacOSX::X11::Rectangle::fY
int fY
Definition:
CocoaGuiTypes.h:22