-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Montag, 18. August 2008 schrieb Reinhold Kainhofer: > Am Montag, 18. August 2008 schrieb Han-Wen Nienhuys: > > On Sun, Aug 17, 2008 at 9:10 PM, Reinhold Kainhofer > > > > <[EMAIL PROTECTED]> wrote: > > > Attached is a patch for stencil.scm, which adds a make-line-stencil > > > that does exactly that: You call it as > > > (make-line-stencil linewidth xstart ystart xend yend) > > > and it will create the stencil and correctly set its extent (adding > > > half the line width to all coordinates, too). > > > > > > Okay to apply to master? > > > > make sure that duplicate code with the draw-line markup is eliminated > > Done, patch is attached. Okay to apply?
Oh, I forgot to mention that I replaced all calls to (ly:make-stencil (list 'draw-line ...) xext yext) by (make-line-stencil...) that I could find. In the fretboards code, there was some code where the xext / yext did not correspond to the arguments of the 'draw-line commands. I simply used the line start/end for the extents. I hope that's okay, Or was it on purpose that the coordinates did not match? Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIqcxYTqjEwhXvPN0RAgjsAJ9rJwZWXogF0iCvSLD9re0htei2WwCeIJfK avsqibSq45LV6ZwdyqdkyZA= =RGR0 -----END PGP SIGNATURE----- _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel