]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stem-info.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / stem-info.hh
index f4f87721a17a326207ae0f50560472a68af77897..887c49988d6583d0b83ce6edbff687e06a3f66f2 100644 (file)
@@ -3,22 +3,26 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1997--2008 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-
 #ifndef STEM_INFO_HH
 #define STEM_INFO_HH
 
 #include "real.hh"
+#include "direction.hh"
 
-struct Stem_info 
+/*
+  Parameters for a stem, (multiply with stemdirection, to get real values
+  for a downstem.)
+*/
+struct Stem_info
 {
-  Real idealy_f_;
-
-  // fixme: we're an Interval!
-  Real miny_f_;
-  Real maxy_f_;
+  Direction dir_;
+  Real ideal_y_;
+  Real shortest_y_;
+  Stem_info ();
+  void scale (Real);
 };
 
 #endif // STEM_INFO_HH