2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
* src/BaseDoc.py: fix angle calculation * src/docgen/PSDrawDoc.py: fix angle calculation svn: r7063
This commit is contained in:
@@ -215,7 +215,8 @@ class PSDrawDoc(BaseDoc.BaseDoc):
|
||||
angle = sangle
|
||||
|
||||
if short_radius == 0:
|
||||
p.append((centerx,centery))
|
||||
if (end_angle - start_angle) != 360:
|
||||
p.append((centerx,centery))
|
||||
else:
|
||||
origx = (centerx + cos(angle)*short_radius)
|
||||
origy = (centery + sin(angle)*short_radius)
|
||||
|
||||
Reference in New Issue
Block a user