1 |
2003-05-16 Bernhard Herzog <[email protected]> |
2003-05-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/__init__.py: Remove the work-around for the locale bug |
4 |
|
in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom |
5 |
|
of the bug was that e.g. float("1.2") would fail. Thuban now |
6 |
|
requires 2.4.x. |
7 |
|
|
8 |
|
2003-05-16 Frank Koormann <[email protected]> |
9 |
|
|
10 |
|
Printing enhancement and WMF export (under Win32) |
11 |
|
|
12 |
|
* Thuban/UI/renderer.py (ExportRenderer): New, derived from |
13 |
|
ScreenRenderer. Renders Map, Legend and Scalebar for export. |
14 |
|
(PrinterRenderer): New, derived from ExportRenderer. Replaces the old |
15 |
|
PrintRender. |
16 |
|
|
17 |
|
* Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set |
18 |
|
to fullfil information needed for PrinterRenderer. |
19 |
|
(MapCanvas.Export): New. Export Map (currently only to WMF on Win32). |
20 |
|
(MapCanvas.Print): Adapted to new MapPrintout. |
21 |
|
(OutputTransform): General calculations to transform from canvas |
22 |
|
coordinates to export/printing devices. |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also |
25 |
|
new method_command to call ExportMap, with platform dependency (only |
26 |
|
__WXMSW__) |
27 |
|
|
28 |
|
* Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size |
29 |
|
of scalebar drawing area as new parameters. |
30 |
|
|
31 |
|
* Thuban/Model/scalebar.py (roundInterval): round long instead of int |
32 |
|
|
33 |
|
* Thuban/UI/legend.py (ScalebarBitmap.__SetScale): |
34 |
|
Update to extended scalebar.DrawScalebar header. |
35 |
|
|
36 |
|
* test/test_export.py: New, test Thuban.UI.view.OutputTransform() |
37 |
|
|
38 |
|
* test/test_scalebar.py: Made test executable as standalone. |
39 |
|
|
40 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
* Thuban/Model/table.py (Table): Remove this compatibility alias |
* Thuban/Model/table.py (Table): Remove this compatibility alias |
43 |
for DBFTable. |
for DBFTable. |
44 |
|
|