2 offset.hh -- part of GNU LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
16 Real coordinate_a_
[NO_AXES
];
18 Real
&y() { return coordinate_a_
[Y_AXIS
]; }
19 Real
&x() { return coordinate_a_
[X_AXIS
]; }
20 Real
y() const { return coordinate_a_
[Y_AXIS
]; }
21 Real
x() const { return coordinate_a_
[X_AXIS
]; }
23 Real
&operator[](Axis i
) {
24 return coordinate_a_
[i
];
26 Real
operator[](Axis i
) const{
27 return coordinate_a_
[i
];
31 Offset
operator+=(Offset o
) {
36 Offset (Real ix
, Real iy
) {
47 operator+ (Offset o1
, Offset
const& o2
)