Scheme function to draw lines based on grob layout A number of C++ stencil callbacks use Line_interface::line to draw lines based on line-interface properties defining a particular grob. This allows control of aspects such as line style (based on the setting of Grob.style) and fine-tuning of dashed lines through dash-fraction and dash-period. This patch gives access to Line_interface::line in Scheme through the callback ly:line-interface::line. (The simpler name ly:line was ruled out in an effort to distinguish it from other functions such as ly:bracket and ly:circle which do not take a grob argument.) Users will be able to create custom stencils with more functionality (including rewriting certain C++ callbacks--such as Hairpin::print--to allow for easy modifications without loss of capability.)
Patch counted down - please push.
Pushed:
author David Nalesnik david.nalesnik@gmail.com
Wed, 26 Aug 2015 14:46:07 +0000 (09:46 -0500)
committer David Nalesnik david.nalesnik@gmail.com
Wed, 2 Sep 2015 12:24:31 +0000 (07:24 -0500)
commit 5eabb1db205318d9c3acc1f2eddd4aedd6547084