p1 = path.line(0,0,5,5)
t1 = p1.tangent(p1.begin())

p2 = p1.reversed()
t2 = p2.tangent(p2.begin())


Oops! Calculating tangent t1 works fine but it fails for tangent t2,
because p1 is a path, whose tangent method has a default value for
the length argument

   def tangent(self, params, length=1):

whereas p2 is a normpath, whose tangent method does not have a default
value for the length argument

   def tangent(self, params, length):

This seems to be inconsistent, doesn't it.


Ciao
Andreas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to