]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bow.hh
e7e3e912cc13ace2bc9ff0515288b45dade68775
[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--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef BOW_HH
11 #define BOW_HH
12
13 #include "directional-spanner.hh"
14 #include "curve.hh"
15
16 /**
17   Base class for anything that looks like a slur.
18   Anybody with a better name?
19   */
20 class Bow : public Directional_spanner
21 {
22 public:
23   Bow ();
24   Offset center () const;  
25
26   DECLARE_MY_RUNTIME_TYPEINFO;
27
28   int dash_i_;
29
30 protected:
31   virtual Molecule* brew_molecule_p () const;
32   virtual Interval do_width () const;    
33   Array<Offset> get_controls () const;
34   virtual Array<Offset> get_encompass_offset_arr () const;
35
36   Drul_array<Real> dy_f_drul_;
37   Drul_array<Real> dx_f_drul_;
38 };
39
40 #endif // BOW_HH