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