]> git.donarmstrong.com Git - lilypond.git/blob - spanner.hh
542357f7a215bdb4491d81d4f27e42db88238101
[lilypond.git] / spanner.hh
1 /*
2   spanner.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef SPANNER_HH
8 #define SPANNER_HH
9 #include "proto.hh"
10
11 /// a symbol which is attached between two columns.
12 struct Spanner {
13     const PCol *left, *right;
14     Parametric_symbol *strets;
15     PStaff * pstaff_;
16     ///      clone a piece of  this spanner.
17     Spanner *broken_at(const PCol *c1, const PCol *c2) const; 
18     /**
19  
20     PRE
21     c1 >= start, c2  <= stop
22     */
23     /****************/
24     String TeXstring () const ;
25     Spanner();
26 };
27 /** Spanner should know about the items which it should consider:
28     e.g. slurs should be steep enough to "enclose" all those items. This
29     is absolutely necessary for beams, since they have to adjust the
30     length of stems of notes they encompass.
31
32     */
33 #endif