-/*
-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--2007 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 line (Grob *me, Offset from, Offset to);
- static bool has_interface (Grob*);
- static Molecule make_dashed_line (Real th, Offset from, Offset to, Real, Real);
- static Molecule make_line (Real th, Offset from, Offset to);
+ static Stencil line (Grob *me, Offset from, Offset to);
+ DECLARE_GROB_INTERFACE();
+ 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 */
-