Re: The path data patch
Posted by Thinker Li on 2008-11-19 03:21
MadButterfly@alerts.assembla.com wrote:
>
> The path data patch
>
> *Posted by:* wycc
>
>
> *Message:*
> I just commit a patch to translate the shape path data into binary
> format. BTW, I want to commit the dynamic loading patch as well.
> However, we need to implement the rdman_object_t before I can check in
> the dynamic load patch. Otherwise, it's impossible to implement the
> DOM operation to get rid of the header files. My patch use DOM
> operation to replace the generated object data structure. YC
>
You can maintain a list of name to value mapping in generated code and
use the list to provide DOM facilities. Python also be extended in this
way, and it gains some kind of successful. Keeping things static can be
useful for a lot of small or simple applications, although dynamic
facilities of DOM are more feasible for scripting. If it is possible, I
would like to keep on static and provide a dynamic facility based on
static ones, so user can decide if them want to pay overhead for dynamic
facilities. I will add code to generate a list of name to value
information in M4 macro file if you also agree my idea.
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Madbutterfly is powered by Assembla.
0 Comments