X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-info.hh;h=887c49988d6583d0b83ce6edbff687e06a3f66f2;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=83ebeaf74b25d2a88fadbfe4b75b08084a0022d7;hpb=69b9cead5afe7164b9053d26eba582fec3825ef8;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index 83ebeaf74b..887c49988d 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -3,24 +3,26 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1998 Jan Nieuwenhuizen + (c) 1997--2008 Jan Nieuwenhuizen */ - #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