On 5/3/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
Shure.
Currently the implementation rotates a stencil around it's center, but this isn't alway desired (I think). It would perhaps make more sense to rotate hairpins around the origin... I'm thinking of a good way to make this tunable... something like this perhaps:
stencil->rotate(angle, offset)
where offset is either origin or center (or some other point)... Ideas?
Regards,
Erlend
Interesting idea! We'll need a SVG implementation before I could accept
it; and the bboxes should be correct too.
Shure.
Currently the implementation rotates a stencil around it's center, but this isn't alway desired (I think). It would perhaps make more sense to rotate hairpins around the origin... I'm thinking of a good way to make this tunable... something like this perhaps:
stencil->rotate(angle, offset)
where offset is either origin or center (or some other point)... Ideas?
Regards,
Erlend
Erlend Aasland schreef:
> ...and another version, now with a generic grob property ('rotation)
> that let you rotate any grob (for example crescendo hairpins).
>
> On 5/3/06, *Erlend Aasland * < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> ...just a small improvement: the target stencil is now rotated
> around its center, not its origin.
>
> On 5/3/06, *Erlend Aasland* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED] >> wrote:
>
> Hello everyone,
>
> I've been experimenting a bit with a rotate command (just for
> fun and for getting to know the internals of Lilypond better).
> The result of the experiment is in the attached patch. Seems to
> work well enough, but the implementation could probably be
> better :-)
>
> Comments?
>
>
> Regards,
> Erlend Aasland
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel