]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tuplet-spanner.hh
release: 1.3.68
[lilypond.git] / lily / include / tuplet-spanner.hh
1 /*
2   plet-spanner.hh -- part of GNU LilyPond
3
4   (c)  1997--2000 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef Tuplet_spanner_HH
8 #define Tuplet_spanner_HH
9
10 #include "lily-guile.hh"
11
12 /** supportable plet: triplets, eentweetjes, ottava, etc.
13
14     TODO: quantise, we don't want to collide with staff lines.
15     (or should we be above staff?)
16
17   todo: handle breaking elegantly.
18 */
19 class Tuplet_spanner
20 {
21 public:
22   static SCM brew_molecule (SCM);
23   static void set_interface (Score_element*);  
24
25   static void add_column (Score_element*me,Item*);
26   static void add_beam (Score_element*me,Score_element*);
27
28   static void calc_dy (Score_element*,Real *) ;
29   static void calc_position_and_height (Score_element*,Real*,Real *dy);
30   
31   static SCM after_line_breaking (SCM);
32
33   static Direction get_default_dir (Score_element*);
34 };
35
36 #endif // Tuplet_spanner_HH
37