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>
|
2006-07-23 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
|
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
|
||||||
default type for an event to CUSTOM
|
default type for an event to CUSTOM
|
||||||
|
@ -1498,7 +1498,8 @@ class BaseDoc:
|
|||||||
angle = sangle
|
angle = sangle
|
||||||
|
|
||||||
if short_radius == 0:
|
if short_radius == 0:
|
||||||
p.append((centerx, centery))
|
if (end_angle - start_angle) != 360:
|
||||||
|
p.append((centerx, centery))
|
||||||
else:
|
else:
|
||||||
origx = (centerx + cos(angle) * short_radius)
|
origx = (centerx + cos(angle) * short_radius)
|
||||||
origy = (centery + sin(angle) * short_radius)
|
origy = (centery + sin(angle) * short_radius)
|
||||||
|
@ -215,7 +215,8 @@ class PSDrawDoc(BaseDoc.BaseDoc):
|
|||||||
angle = sangle
|
angle = sangle
|
||||||
|
|
||||||
if short_radius == 0:
|
if short_radius == 0:
|
||||||
p.append((centerx,centery))
|
if (end_angle - start_angle) != 360:
|
||||||
|
p.append((centerx,centery))
|
||||||
else:
|
else:
|
||||||
origx = (centerx + cos(angle)*short_radius)
|
origx = (centerx + cos(angle)*short_radius)
|
||||||
origy = (centery + sin(angle)*short_radius)
|
origy = (centery + sin(angle)*short_radius)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user