1 |
2004-12-18 Bernhard Reiter <[email protected]> |
2004-12-18 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
Refactored in svgexport: |
4 |
|
DrawPath replaces DrawPolygon; added newline in front of "M" in paths. |
5 |
|
|
6 |
|
* Extensions/svgexport/svgmapwriter.py |
7 |
|
Added verbosity level 3 to print out polygon points. |
8 |
|
(class Point): added __repr__ |
9 |
|
(class Brush, __str__()): Added space after ,. |
10 |
|
(DrawPolygon): Renamed to DrawPath() |
11 |
|
(DrawPath): Takes list of polygons as input now, adds \n before "M"s. |
12 |
|
(DrawLines): Using DrawPath now. |
13 |
|
|
14 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
15 |
|
Replaced DrawPolygon() calls with DrawPath() and put the first argument |
16 |
|
inside another list. Adapted test data with a newline before "M". |
17 |
|
|
18 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
19 |
|
|
20 |
Refactored svgexport tests: 9 double tests runs eliminated; |
Refactored svgexport tests: 9 double tests runs eliminated; |
21 |
code size reduced by 8 lines. |
code size reduced by 8 lines. |