source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Jan Nieuwenhuizen <jan@digicash.com>
+ (c) 1997--2009 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-
#ifndef STEM_INFO_HH
#define STEM_INFO_HH
#include "real.hh"
+#include "direction.hh"
-struct Stem_info {
- Real x_;
- int dir_;
- Real idealy_f_;
- Real miny_f_;
- int mult_i_;
-
+/*
+ Parameters for a stem, (multiply with stemdirection, to get real values
+ for a downstem.)
+*/
+struct Stem_info
+{
+ Direction dir_;
+ Real ideal_y_;
+ Real shortest_y_;
Stem_info ();
- Stem_info (Stem const *);
+ void scale (Real);
};
#endif // STEM_INFO_HH