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:
parent
af068be9de
commit
4bb46152db
@ -1,3 +1,7 @@
|
||||
2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
|
||||
* src/BaseDoc.py: fix angle calculation
|
||||
* src/docgen/PSDrawDoc.py: fix angle calculation
|
||||
|
||||
2006-07-23 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
|
||||
default type for an event to CUSTOM
|
||||
|
@ -1498,6 +1498,7 @@ class BaseDoc:
|
||||
angle = sangle
|
||||
|
||||
if short_radius == 0:
|
||||
if (end_angle - start_angle) != 360:
|
||||
p.append((centerx, centery))
|
||||
else:
|
||||
origx = (centerx + cos(angle) * short_radius)
|
||||
|
@ -215,6 +215,7 @@ class PSDrawDoc(BaseDoc.BaseDoc):
|
||||
angle = sangle
|
||||
|
||||
if short_radius == 0:
|
||||
if (end_angle - start_angle) != 360:
|
||||
p.append((centerx,centery))
|
||||
else:
|
||||
origx = (centerx + cos(angle)*short_radius)
|
||||
|
Loading…
Reference in New Issue
Block a user