Hi guys,

during my tests for an answer on the pyx-user list I noticed some
changes in the connector module, svn version over 0.8. I just want to
make sure they're intentional:

- orientation of angles changed
- boxdists can't be a single number any more, has to be a 2-element list

Those changes correspond to the new documentation; it might be
worthwhile to point out that it's changed over 0.8, though.

In particular, the connector example would need different signs in order
to reproduce the same picture as before (see below).

Cheers,
Michael


for X,Y in [[A, B], [B, C], [C, D], [D, A]]:
    c.stroke(connector.arc(X, Y, relangle=-45, boxdists=[0.2,0.2]),
[color.rgb.red, deco.earrow.normal])

c.stroke(connector.curve(D, B, boxdists=[0.2,0.2], relangle1=-45,
relangle2=-45, relbulge=0.8),
         [color.rgb.blue, deco.earrow.normal])


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to