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>
33 other_dir (Direction const d)
35 return (Direction)(-d);
39 operator - (Direction const d)
47 if (*i == (Direction)1)
49 else if (*i == (Direction)-1)
55 if d > 0: the max operator
56 if d < 0: the min operator
58 template<class T> T minmax (Direction d, T, T);
60 // String direction_str (Direction, Axis);
62 #endif // DIRECTION_HH