summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2009-02-08 01:24:29 +0000
committeralvinpenner <alvinpenner@users.sourceforge.net>2009-02-08 01:24:29 +0000
commit56b9ef8cbf4f35849f38a4840e3c126fb83f0ede (patch)
treef7116aa2dcd3458ba9975873bb4e46bd3ac55dc5 /share
parentWarning cleanup. (diff)
downloadinkscape-56b9ef8cbf4f35849f38a4840e3c126fb83f0ede.tar.gz
inkscape-56b9ef8cbf4f35849f38a4840e3c126fb83f0ede.zip
convert elliptical arc angle from degrees to radians
(bzr r7248)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/cubicsuperpath.py1
1 files changed, 1 insertions, 0 deletions
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]])