From: alvinpenner Date: Sun, 8 Feb 2009 01:24:29 +0000 (+0000) Subject: convert elliptical arc angle from degrees to radians X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cf5cee5fd8334d9064027cd5285b0db54c10f28a;p=inkscape.git convert elliptical arc angle from degrees to radians --- diff --git a/share/extensions/cubicsuperpath.py b/share/extensions/cubicsuperpath.py index 21c6174e1..8be2ad42c 100755 --- a/share/extensions/cubicsuperpath.py +++ b/share/extensions/cubicsuperpath.py @@ -44,6 +44,7 @@ def norm(pt): def ArcToPath(p1,params): A=p1[:] rx,ry,teta,longflag,sweepflag,x2,y2=params[:] + teta = teta*pi/180.0 B=[x2,y2] if rx==0 or ry==0: return([[A,A,A],[B,B,B]])