2 paper-def.hh -- declare Paper_def
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
18 /** symbols, dimensions and constants
20 This struct takes care of all kinds of symbols, dimensions and
21 constants. Most of them are related to the point-size of the fonts,
22 so therefore, the lookup table for symbols is also in here.
32 /// how much space does a whole note take (ideally?)
35 /// ideal = geometric_ ^ log2(duration)
43 Paper_def(Paper_def const&);
45 The distance between lines
47 Real interline()const;
48 /// half the distance between lines
49 Real internote()const;
51 /// thickness of the standard line
52 Real rule_thickness()const;
54 /// height of the staff
55 Real standard_height()const;
57 /// width of a quaver ball
58 Real note_width() const;
60 Lookup const * lookup_l(); // TODO naming
62 /** convert a duration to an idealspacing
63 influence using the geometric_ and whole_width parameters.
65 Real duration_to_dist(Moment);
68 #endif // Paper_def_HH