]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/line-interface.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / line-interface.hh
index f81d9f68c191b12c102211de4982b27e5ff9283d..04efea0cab6e2eb6b22d9f31531c07ef30752116 100644 (file)
@@ -1,24 +1,35 @@
-/*   
-line-interface.hh -- declare 
+/*
+  line-interface.hh -- declare
 
-source file of the GNU LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
-(c) 2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
-
- */
+  (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef LINE_INTERFACE_HH
 #define LINE_INTERFACE_HH
 
 #include "lily-proto.hh"
+#include "grob-interface.hh"
 
 struct Line_interface
 {
-  static Molecule dashed_line (Grob *me, Real thick, Offset from, Offset to);
-  static bool has_interface (Grob*);
-  static Molecule make_dashed_line (Real th, Offset from, Offset to, Real, Real);
-
+  static Stencil line (Grob *me, Offset from, Offset to);
+  DECLARE_GROB_INTERFACE();
+  static Stencil make_zigzag_line (Grob *me,
+                                  Offset from,
+                                  Offset to);
+  static Stencil make_trill_line (Grob *me,
+                                Offset from,
+                                Offset to);
+  static Stencil make_dashed_line (Real th, Offset from, Offset to, Real, Real);
+  static Stencil make_line (Real th, Offset from, Offset to);
+  static Stencil make_arrow (Offset beg, Offset end, Real thick,
+                            Real length, Real width);
+  static Stencil arrows (Grob *me, Offset from, Offset to,
+                        bool from_arrow,
+                        bool to_arrow);
 };
-#endif /* LINE_INTERFACE_HH */
 
+#endif /* LINE_INTERFACE_HH */