summaryrefslogtreecommitdiff
path: root/spanner.hh
diff options
context:
space:
mode:
Diffstat (limited to 'spanner.hh')
-rw-r--r--spanner.hh33
1 files changed, 33 insertions, 0 deletions
diff --git a/spanner.hh b/spanner.hh
new file mode 100644
index 0000000000..542357f7a2
--- /dev/null
+++ b/spanner.hh
@@ -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