ROOT
6.08/07
Reference Guide
graf2d
cocoa
src
CocoaGuiTypes.mm
Go to the documentation of this file.
1
#include "
CocoaGuiTypes.h
"
2
3
namespace
ROOT
{
4
namespace
MacOSX {
5
namespace
X11
{
6
7
//______________________________________________________________________________
8
Point::Point
()
9
: fX(0), fY(0)
10
{
11
}
12
13
//______________________________________________________________________________
14
Point::Point
(
int
x
,
int
y
)
15
:
fX
(x),
fY
(y)
16
{
17
}
18
19
//______________________________________________________________________________
20
Rectangle::Rectangle
()
21
:
fX
(0),
fY
(0), fWidth(0), fHeight(0)
22
{
23
}
24
25
//______________________________________________________________________________
26
Rectangle::Rectangle
(
int
x
,
int
y
,
unsigned
w,
unsigned
h
)
27
:
fX
(x),
fY
(y),
fWidth
(w),
fHeight
(h)
28
{
29
}
30
31
}
//X11
32
}
//MacOSX
33
}
//ROOT
ROOT
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
Definition:
StringConv.hxx:21
h
TH1 * h
Definition:
legend2.C:5
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::Rectangle::Rectangle
Rectangle()
Definition:
CocoaGuiTypes.mm:20
CocoaGuiTypes.h
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