Re: Dia hex-grid vs. triangular grid

2013-06-21 Thread Luidnel Maignan
Dear dia devs and users, This is a follow-up of an old mail about adding triangular grid in dia. This mail can be found at [1]. I submitted a patch on bugzilla that can be found at [2]. With this patch, switching a diagram to hexagonal grid put it in the triangular grid mode instead. The display

API documentation for beginners

2013-06-21 Thread Bao Niu
Hi there. I'm learning Dia python scripting and very interested in it. However I found the current documentation for APIs is a little too terse, only meant for those who are in the knows. For example I couldn't find any piece of information on the difference between layers[0] vs active_layers. Is t