X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-info.hh;h=2551c1b094ed759af948ab186e47d35ba362e60a;hb=a69eb3b3dfed77344ffd4d54580fa8985c27568e;hp=06a6cb2918f4e741be7dfcfea51bccc9273ecc1e;hpb=c844072722a39a5fcd20372b0497d9130bd41dd7;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index 06a6cb2918..2551c1b094 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -3,26 +3,26 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1998 Jan Nieuwenhuizen + (c) 1997--2006 Jan Nieuwenhuizen */ - #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_; - +/* + 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