lilypond-user
[Top][All Lists]
Advanced

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

Re: override stencil question


From: David Nalesnik
Subject: Re: override stencil question
Date: Mon, 11 Mar 2013 08:56:35 -0500

Hi Rama,

On Mon, Mar 11, 2013 at 12:06 AM, Rama Gottfried <address@hidden> 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

reply via email to

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