Menu

#4576 Scheme function to draw lines based on grob layout

Verified
Enhancement
2015-09-14
2015-08-30
No

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.)

https://codereview.appspot.com/260450043/

Discussion

  • Trevor Daniels

    Trevor Daniels - 2015-08-30
    • Needs: design -->
     
  • Anonymous

    Anonymous - 2015-09-02
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2015-09-02

    Patch counted down - please push.

     
  • David Nalesnik

    David Nalesnik - 2015-09-02

    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

     
  • Anonymous

    Anonymous - 2015-09-02
    • labels: --> Fixed_2_19_27
    • status: Started --> Fixed
    • assigned_to: David Nalesnik
    • Patch: push -->
     
  • Phil Holmes

    Phil Holmes - 2015-09-14
    • status: Fixed --> Verified