* src/Report.py: Add support for a semi-common 'dispf'.

* src/ReportOptions.py: Add support for a semi-common 'dispf'.
* src/Utils.py (cm2pt): Add function.
* src/plugins/AncestorChart.py: Convert to new scheme.
* src/plugins/AncestorChart2.py: Convert to new scheme.
* src/plugins/DesGraph.py: Convert to new scheme.


svn: r3858
This commit is contained in:
Alex Roitman
2005-01-02 22:22:11 +00:00
parent 0a3e608121
commit b6098a2251
7 changed files with 349 additions and 828 deletions

View File

@ -440,11 +440,14 @@ def roman(num):
#-------------------------------------------------------------------------
#
# Convert points to cm
# Convert points to cm and back
#
#-------------------------------------------------------------------------
def pt2cm(val):
return (float(val)/28.3465)
def pt2cm(pt):
return (float(pt)/28.3465)
def cm2pt(cm):
return (float(cm)/2.54)*72
#-------------------------------------------------------------------------
#