]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur.hh
release: 1.3.79
[lilypond.git] / lily / include / slur.hh
1 /*
2   slur.hh -- declare Slur
3
4   (c) 1996--2000 Han-Wen Nienhuys
5 */
6
7 #ifndef SLUR_HH
8 #define SLUR_HH
9
10 #include "lily-guile.hh"
11 #include "lily-proto.hh"
12 #include "rod.hh"
13
14 class Slur
15 {
16 public:
17   static void add_column (Score_element*me,Score_element*col);
18   static SCM brew_molecule (SCM);
19   static void set_interface (Score_element*);
20   static bool  has_interface (Score_element*);
21   static Array<Offset> get_encompass_offset_arr (Score_element*me) ;
22   static Bezier get_curve (Score_element*me) ;
23   static Direction get_default_dir (Score_element*me) ;
24   static SCM after_line_breaking (SCM);
25   static SCM set_spacing_rods (SCM);
26 private:  
27   static Offset get_attachment (Score_element*me,Direction dir, Score_element**common) ;
28   static void de_uglyfy (Score_element*me,Slur_bezier_bow* bb, Real default_height);
29   static void set_extremities (Score_element*me);
30   static void set_control_points (Score_element*me);
31   static Offset encompass_offset (Score_element*me,Score_element *col,Score_element**common);
32 };
33
34 #endif // SLUR_HH
35
36