]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.7
authorfred <fred>
Mon, 4 Nov 1996 14:13:17 +0000 (14:13 +0000)
committerfred <fred>
Mon, 4 Nov 1996 14:13:17 +0000 (14:13 +0000)
spanner.hh [new file with mode: 0644]

diff --git a/spanner.hh b/spanner.hh
new file mode 100644 (file)
index 0000000..542357f
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+  spanner.hh -- part of LilyPond
+
+  (c) 1996 Han-Wen Nienhuys
+*/
+
+#ifndef SPANNER_HH
+#define SPANNER_HH
+#include "proto.hh"
+
+/// a symbol which is attached between two columns.
+struct Spanner {
+    const PCol *left, *right;
+    Parametric_symbol *strets;
+    PStaff * pstaff_;
+    ///      clone a piece of  this spanner.
+    Spanner *broken_at(const PCol *c1, const PCol *c2) const; 
+    /**
+    PRE
+    c1 >= start, c2  <= stop
+    */
+    /****************/
+    String TeXstring () const ;
+    Spanner();
+};
+/** Spanner should know about the items which it should consider:
+    e.g. slurs should be steep enough to "enclose" all those items. This
+    is absolutely necessary for beams, since they have to adjust the
+    length of stems of notes they encompass.
+
+    */
+#endif