]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bow.hh
release: 1.1.37
[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   UGH. Fixme.  Should junk
21
22     dy_f_drul_ , dx_f_drul_
23   
24   */
25 class Bow : public Directional_spanner
26 {
27 public:
28   Bow ();
29   Offset center () const;  
30
31 protected:
32   virtual Molecule* do_brew_molecule_p () const;
33   //  virtual Interval do_width () const;    
34   Array<Offset> get_controls () const;
35   virtual Array<Offset> get_encompass_offset_arr () const;
36   virtual Interval do_height () const;
37
38   Drul_array<Real> dy_f_drul_;
39   Drul_array<Real> dx_f_drul_;
40 };
41
42 #endif // BOW_HH