source file of the GNU LilyPond music typesetter
- (c) 1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1997--2007 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-
#ifndef STEM_INFO_HH
#define STEM_INFO_HH
#include "real.hh"
+#include "direction.hh"
/*
Parameters for a stem, (multiply with stemdirection, to get real values
for a downstem.)
-
- */
-struct Stem_info
+*/
+struct Stem_info
{
- Real ideal_y;
-
- // fixme: we're an Interval!
- Real min_y;
- Real max_y;
+ Direction dir_;
+ Real ideal_y_;
+ Real shortest_y_;
+ Stem_info ();
+ void scale (Real);
};
#endif // STEM_INFO_HH