1 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
Improved the svgexport to only use unique ids. Will issues |
4 |
|
an error message dialoge when two layer names are the same. |
5 |
|
ShapeIDs are now added with a dash within the svg ids. |
6 |
|
|
7 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
8 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
9 |
|
(TestSVGRenderer): New test class with test_make_in() and |
10 |
|
test_check_for_layer_name_clash() |
11 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
12 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
13 |
|
satisfying test_check_for_layer_name_clash() |
14 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
15 |
|
test_make_in(). |
16 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
17 |
|
and wxICON_HAND. |
18 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
19 |
|
catching SVGmapWriterError notify the user and delete the target file. |
20 |
|
|
21 |
2004-09-20 Bernhard Reiter <[email protected]> |
2004-09-20 Bernhard Reiter <[email protected]> |
22 |
|
|
23 |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |