2 direction.hh -- declare Direction
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
31 other_dir (Direction const d)
33 return (Direction)(-d);
37 operator - (Direction const d)
45 if (*i == (Direction)1)
47 else if (*i == (Direction)-1)
53 if d > 0: the max operator
54 if d < 0: the min operator
56 template<class T> T minmax (Direction d, T, T);
58 // String direction_str (Direction, Axis);
60 #endif // DIRECTION_HH