]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stem-info.hh
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into lilypond...
[lilypond.git] / lily / include / stem-info.hh
index b73ef582cd1cba6d179b18587bd767f1e795b96e..1a67675d3aa6f6d46c197121089deed41e674279 100644 (file)
@@ -3,28 +3,26 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
+  (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_;
-  int beam_dir_;
-  Real idealy_f_;
-  Real miny_f_;
-  Real maxy_f_;
-  int mult_i_;
-  Real interstaff_f_;
-  Stem* stem_l_;
-
+/*
+  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 *);
+  void scale (Real);
 };
 
 #endif // STEM_INFO_HH