lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rotated hairpins


From: Han-Wen Nienhuys
Subject: rotated hairpins
Date: Sun, 28 Mar 2004 22:32:40 +0200

address@hidden writes:
> 
> How can I rotate hairpins?  This is needed quite often for piano
> music...


No. The responsible code is in hairpin.cc, and it's easy to add a
vertical offset to either endpoint

  Stencil mol;
  mol  = Line_interface::line (me, Offset (0, starth), Offset (width, endh));
  mol.add_stencil (Line_interface::line (me,
                                         Offset (0, -starth),
                                         Offset (width, -endh)));


I don't know what a sensible method of computing or setting the offset
is, though.

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]