]> git.donarmstrong.com Git - lilypond.git/commit
Fix #888: Add ly:stencil-scale.
authorNeil Puttock <n.puttock@gmail.com>
Sat, 30 Oct 2010 15:08:01 +0000 (16:08 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sat, 30 Oct 2010 15:29:23 +0000 (16:29 +0100)
commit8af3c27f5b63009a9a8507fcfcc220a93dcbf725
tree56d740ecba75a2e8de9804f96adf70d47f44c9af
parent14afb1ede443ad0ed187558424be2b78eaeeda41
Fix #888: Add ly:stencil-scale.

* input/regression/stencil-scale.ly

  new regtest for testing ly:stencil-scale

* lily/stencil-interpret.cc (interpret_stencil_expression):

  interpret new stencil command `scale-stencil', unscaling offset of body to
  compensate for change in output scale

* lily/stencil-scheme.cc (ly_stencil_scale):

  export new function `ly:stencil-scale'

* lily/stencil.cc, include/stencil.hh (scale):

  new method for scaling stencils

* scm/define-markup-commands.scm (scale):

  new markup command

* scm/define-stencil-commands.scm

  (ly:all-stencil-commands): add stencil commands for setting and resetting
  scale (`setscale', `resetscale')

  (ly:all-output-backend-commands): add `scale-stencil' command

* scm/output-ps.scm, output-svg.scm (setscale, resetscale):

  implement stencil outputters for scaling
input/regression/stencil-scale.ly [new file with mode: 0644]
lily/include/stencil.hh
lily/stencil-interpret.cc
lily/stencil-scheme.cc
lily/stencil.cc
scm/define-markup-commands.scm
scm/define-stencil-commands.scm
scm/output-ps.scm
scm/output-svg.scm