I've had very little time to do coding the past two days, so I've only managed to do a little bit more on this rotation thing.
Rotation is now specified as #'(degrees x y) where x and y are relative to the extent of the grob ( i.e. (0,0) is center and (1,1) is upper right corner...). This seems works perfect.
But, I'm having some problems with adjusting the bounding box. Should it not be sufficient to modify dim_ in the stencil?
I've got lots of spare time this weekend so I'll try to find it out myself, but if you've got some hints... :-)
Erlend
On 5/4/06, Erlend Aasland <[EMAIL PROTECTED]> wrote:
On 5/4/06, Han-Wen Nienhuys <[EMAIL PROTECTED] > wrote:
I think it's better to explicitly ask for everything, ie.
#'rotation = #'(45 0 -1)
(where the last 2 numbers are 1,-1 style.)
I agree. I'll modify the patch.
Erlend
rotate4.patch
Description: Binary data
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel