Hi Rama, On Mon, Mar 11, 2013 at 12:06 AM, Rama Gottfried <rama.gottfr...@gmail.com>wrote:
> Thanks David -- This is great, I can almost start with the score now. > > Glad to hear it! > I was (am still a bit) unclear about how the grob gets passed to the > callback function. > > interesting that the grob is still available within the callback without > passing it -- I had thought that the stencil assignment was passing the > grob to the callback function with the first argument. But now if I > understand correctly, I think the stencil callback function is called > within the grob parent, and automatically has access to the grob? > Sorry, I would be a bit out of my depth attempting to explain what's going on. In any case, I still am passing the grob to the callback function: #(define (path-gliss handle) (lambda (grob) [...] BTW, I could also have written the above as follows: #(define ((path-gliss handle) grob) -David
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user