]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bow.hh
release: 1.1.30
[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--1999 Han-Wen Nienhuys <hanwen@cs.uu.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   
27
28   int dash_i_;
29   Real interstaff_f_;
30   Drul_array<Real> vertical_align_drul_;
31
32 protected:
33   virtual Molecule* do_brew_molecule_p () const;
34   //  virtual Interval do_width () const;    
35   Array<Offset> get_controls () const;
36   virtual Array<Offset> get_encompass_offset_arr () const;
37   virtual Interval do_height () const;
38
39   Drul_array<Real> dy_f_drul_;
40   Drul_array<Real> dx_f_drul_;
41 };
42
43 #endif // BOW_HH