X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fstem-info.hh;h=887c49988d6583d0b83ce6edbff687e06a3f66f2;hb=5ea982187f9aebfe588225813be14c48020452f3;hp=e631280c58b6e35253befbd9620ff311b0dea507;hpb=da7dbf5f2f54bc66984ab2524c490335d567b5e7;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index e631280c58..887c49988d 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -3,28 +3,26 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1999 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_; - 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 *, int); + void scale (Real); }; #endif // STEM_INFO_HH