X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-info.hh;h=2551c1b094ed759af948ab186e47d35ba362e60a;hb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;hp=a909ac952e39062e93f9c5d686652fb8552b45c2;hpb=67a763d2c94cf4e24c01186d9f2df06b31778778;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index a909ac952e..2551c1b094 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -3,29 +3,26 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1999 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_; - 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