]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/bow.hh
6b788f154c92242b35f029da90f6542eb4cdf40c
[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
15 /**
16   Base class for anything that looks like a slur.
17   Anybody with a better name?
18
19   UGH. Fixme.  Should junk
20
21     dy_f_drul_ , dx_f_drul_
22   
23   */
24 class Bow : public Directional_spanner
25 {
26 public:
27   Bow ();
28   Offset center () const;  
29
30 protected:
31   virtual Molecule* do_brew_molecule_p () const;
32
33   virtual Array<Offset> get_encompass_offset_arr () const;
34
35   Interval curve_extent (Axis) const;
36   Bezier get_curve () const;
37   
38   Drul_array<Real> dy_f_drul_;
39   Drul_array<Real> dx_f_drul_;
40 };
41
42 #endif // BOW_HH