X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-info.hh;h=901568804527c77631b16d69468e7dab90586fd9;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=bff7cfbdb38f69464c122b1220cd1a16d4fa00e3;hpb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index bff7cfbdb3..9015688045 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -1,28 +1,39 @@ /* - stem-info.hh -- declare Stem_info + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2015 Jan Nieuwenhuizen - (c) 1997--1998 Jan Nieuwenhuizen -*/ + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . +*/ #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