X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fline-interface.hh;h=fa94b9f71185fc5813bce3229b8f0e09e64ede18;hb=61140f6153dce4ba6e3dca3a88a33c435c6bc26b;hp=bb4a763b144f1f3a9dd4b026d1407ef69b3233b0;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/include/line-interface.hh b/lily/include/line-interface.hh index bb4a763b14..fa94b9f711 100644 --- a/lily/include/line-interface.hh +++ b/lily/include/line-interface.hh @@ -3,20 +3,32 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2005 Han-Wen Nienhuys + (c) 2004--2007 Han-Wen Nienhuys */ #ifndef LINE_INTERFACE_HH #define LINE_INTERFACE_HH #include "lily-proto.hh" +#include "grob-interface.hh" struct Line_interface { static Stencil line (Grob *me, Offset from, Offset to); - static bool has_interface (Grob *); + 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 */