Michael SCHINDLER venit, vidit, dixit 2007-03-15 18:14: > Bonjour, > > On 15.03.07, Michael J Gruber wrote: >> Lander venit, vidit, dixit 2007-03-15 15:56: >> >> Oh, I see it's kind of patched in svn already: Now, the default value of >> length is 1, not None, so that things work if you don't specify a >> length. Passing "length=None" still doesn't work, so I guess the >> description should be changed. > > The same has already been reported by Stefan Schenk (see pyx bug > 1632988). Also the manual has been corrected in the svn version.
Who's looking at the manual ;) I meant the docstrings for path.path.tangent(), normpath.normpath.tangent() and the _pt variants. > > However, Jörg did not seem to be quite satisfied with the > length=1 solution. I was quite surprised, too. That indeed does scale the tangent in a way which depends on the default unit and the current scale factor. It seems it's done just in order to save one or two if's. Michael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
