|
From: Joerg L. <jo...@us...> - 2005-08-31 09:22:56
|
Hi Michael! On 31.08.05, Michael Schindler wrote: > Update of /cvsroot/pyx/pyx/test/experimental > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28316 > > Added Files: > brace.py > Log Message: > braces that look good even when drawn huge -- but where to put them? Looks amazing! But obviously, we do not yet have a place where one could put such stuff. Maybe it would maybe be more clear if brace were a path instead of having a path() method. We could then create a new package (for instance "paths", but I'm sure there is a better name, "elements" also came to my mind) which contains only modules generating paths. In principle, already a simple circle or a line would belong there, but I'm not sure whether we want something like: paths.circle.circle(1, 2, 3) paths.line.line(1, 2, 3, 4) One could also think about grouping stuff together paths.basic.circle(1, 2, 3) paths.basic.line(1, 2, 3, 4) Then we could also say that all stuff from the basic package is so important that we inject it in the paths namespace: paths.circle(1, 2, 3) paths.line(1, 2, 3, 4) Actually, I think this is not too bad, is it? Btw, André, if we are about to split path anyway (in order to separate normpath out), we could also think about doing things like this at the same time. Adding some backwards compatibility code which issues a warning would be rather simple. Jörg |