Re: [frogs] Stepping into the code for nested properties |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>
- Subject: Re: [frogs] Stepping into the code for nested properties
- From: Rodolfo Zitellini <xhero.gm@xxxxxxxxx>
- Date: Tue, 11 May 2010 10:11:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=XqFoQMzub99hQChP674iA2r9v7gMEaOJL6tftbaKtHg=; b=IVtw1RoFiWCcXE+0YgQ/k8Tufd9RLv9Bqk42yCScr2fEKXfx0Gdt8JUsan7STS59Gj 0aqY937t5LfpbJatkGc1fLyeN7s52z5GXYp3We5BBJaSvWwOinawcUiZWDsrmTb+xF+2 cmXGNbm7M5RLZ2A9ldg3ONit0v1xgz2Mt3dVk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=M+smsQOYBMKQjLxww8AVaZDw/4Ey83+kIt1i//bvCWAvLoF6jQX/0VzcAIqECud7Dk jWCVmTkWqqE4oUASgbSsM+tr/HeSP6khXqJ6eElTl7koF0UZDLfZyBNp3QDJjKZmh9Tg 2I7CylvuEsOMT098D3dV0q1L3OOaCx0yAcYEU=
Ok here I am with my first round of questions.
If I understand correctly, an object's properties are represented by
an alist of pairs in the form (property-name . value), and "value" can
be another alist (for nested properties)
Now, when you call execute_override_property (in context-property.cc)
you get the alist with all the properties and change the relevant one,
but... how is the list of the properties created in the first place?
where do the default values come from?
I ask because when you do a \revert and you did not do any \override
before in the same grob execute_revert_property simply does nothing
and returns, but if the \override was done, in the case of a nested
property the one you are reverting simply gets removed from the alist
(the code in nested_property_revert_alist(91) is quite explicit too:
/* old value is dropped. */). I assume this is the problem, did I
understand right here?
Thanks,
Rodolfo
---
----
Join the Frogs!