X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstem-info.hh;h=a4089c2af93cd6155cbeaa39c929532ceb3185e0;hb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=f9eafe65e3d281e6cd07a25d8b6b19cc1eada1de;p=lilypond.git diff --git a/lily/include/stem-info.hh b/lily/include/stem-info.hh index e69de29bb2..a4089c2af9 100644 --- a/lily/include/stem-info.hh +++ b/lily/include/stem-info.hh @@ -0,0 +1,39 @@ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 1997--2014 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" + +/* + 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 (); + void scale (Real); +}; + +#endif // STEM_INFO_HH