]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bow.hh
release: 0.0.78
[lilypond.git] / lily / include / bow.hh
1 /*
2   bow.hh -- declare Bow
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef BOW_HH
11 #define BOW_HH
12 #include "directional-spanner.hh"
13
14 /**
15   Base class for anything that looks like a slur.
16   Anybody with a better name?
17   */
18 class Bow : public Directional_spanner {
19 protected:
20     int left_pos_i_;
21     int right_pos_i_;
22     Real left_dx_f_;
23     Real right_dx_f_;
24     
25     Molecule*brew_molecule_p()const;
26 public:
27     Bow();
28     DECLARE_MY_RUNTIME_TYPEINFO;
29     Offset center() const;  
30 };
31 #endif // BOW_HH