Correct left text alignment of DynamicTextSpanner.
[lilypond.git] / lily / include / spacing-options.hh
blobc202c7d64d5f194017e77acd3b7bd6e99e47a3bd
1 /*
2 spacing-options.hh -- declare Spacing_options
4 source file of the GNU LilyPond music typesetter
6 (c) 2006--2007 Han-Wen Nienhuys <hanwen@lilypond.org>
8 */
10 #ifndef SPACING_OPTIONS_HH
11 #define SPACING_OPTIONS_HH
13 #include "lily-proto.hh"
14 #include "rational.hh"
15 #include "std-vector.hh"
18 Various options for spacing. Usually inited from SpacingSpanner, but sometimes
19 from GraceSpacing.
22 struct Spacing_options
24 bool packed_;
25 bool stretch_uniformly_;
26 bool float_nonmusical_columns_;
27 bool float_grace_columns_;
28 Rational global_shortest_;
29 Real increment_;
30 Real shortest_duration_space_;
32 Spacing_options();
33 void init_from_grob (Grob *me);
34 Real get_duration_space (Rational d) const;
36 #endif /* SPACING_OPTIONS_HH */