]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stem-info.hh
Fix #219.
[lilypond.git] / lily / include / stem-info.hh
index 5fa4da6461e72a8e6a17e87dd9a7dccfc84f89d6..2551c1b094ed759af948ab186e47d35ba362e60a 100644 (file)
@@ -3,24 +3,26 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1997--2006 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 beams_i_;
-
-  Stem_info();
-  Stem_info (Stem const *);
+/*
+  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 ();
+  void scale (Real);
 };
 
 #endif // STEM_INFO_HH