X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fline-interface.hh;h=04efea0cab6e2eb6b22d9f31531c07ef30752116;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=0bf56707a09bf0cafdaf22a7a6c4fa668b6b4fe7;hpb=71ffe088dd13ab45d8e4f9bf11fbb999e7a6ce72;p=lilypond.git diff --git a/lily/include/line-interface.hh b/lily/include/line-interface.hh index 0bf56707a0..04efea0cab 100644 --- a/lily/include/line-interface.hh +++ b/lily/include/line-interface.hh @@ -1,25 +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 - - */ + (c) 2004--2008 Han-Wen Nienhuys +*/ #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_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 */ -