From d492670789b3410627f72e5df0da8d7bfd4705ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 18 Oct 2013 08:27:38 +0000 Subject: [PATCH] backwards directed parts in a bezier curve are *not* forbidden git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx/pyx@3538 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- normpath.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/normpath.py b/normpath.py index 21e49887..acd05a88 100644 --- a/normpath.py +++ b/normpath.py @@ -498,9 +498,6 @@ class normcurve_pt(normsubpathitem): # we would need to take into account the signs of l1_pt, # l2_pt, and l3_pt. In addition, this could result in # multiple parameters matching a position on the line. - # While this should be forbidden by properly constructed - # normpaths, we will still handle this case here by checking - # the signs of l1_pt, l2_pt, and l3_pt. s1 = (x1_pt-x0_pt)*(x3_pt-x0_pt)+(y1_pt-y0_pt)*(y3_pt-y0_pt) s2 = (x2_pt-x1_pt)*(x3_pt-x0_pt)+(y2_pt-y1_pt)*(y3_pt-y0_pt) s3 = (x2_pt-x3_pt)*(x0_pt-x3_pt)+(y2_pt-y3_pt)*(y0_pt-y3_pt) -- 2.11.4.GIT