bernhard: thuban ChangeLog,1.739,1.740
cvs@intevation.de
cvs at intevation.de
Sat Dec 18 01:29:06 CET 2004
Author: bernhard
Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv14941
Modified Files:
ChangeLog
Log Message:
Refactored in svgexport:
DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
* Extensions/svgexport/svgmapwriter.py
Added verbosity level 3 to print out polygon points.
(class Point): added __repr__
(class Brush, __str__()): Added space after ,.
(DrawPolygon): Renamed to DrawPath()
(DrawPath): Takes list of polygons as input now, adds \n before "M"s.
(DrawLines): Using DrawPath now.
* Extensions/svgexport/test/test_svgmapwriter.py:
Replaced DrawPolygon() calls with DrawPath() and put the first argument
inside another list. Adapted test data with a newline before "M".
Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.739
retrieving revision 1.740
diff -u -d -r1.739 -r1.740
--- ChangeLog 17 Dec 2004 23:06:03 -0000 1.739
+++ ChangeLog 18 Dec 2004 00:29:04 -0000 1.740
@@ -1,4 +1,21 @@
2004-12-18 Bernhard Reiter <bernhard at intevation.de>
+
+ Refactored in svgexport:
+ DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
+
+ * Extensions/svgexport/svgmapwriter.py
+ Added verbosity level 3 to print out polygon points.
+ (class Point): added __repr__
+ (class Brush, __str__()): Added space after ,.
+ (DrawPolygon): Renamed to DrawPath()
+ (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
+ (DrawLines): Using DrawPath now.
+
+ * Extensions/svgexport/test/test_svgmapwriter.py:
+ Replaced DrawPolygon() calls with DrawPath() and put the first argument
+ inside another list. Adapted test data with a newline before "M".
+
+2004-12-18 Bernhard Reiter <bernhard at intevation.de>
Refactored svgexport tests: 9 double tests runs eliminated;
code size reduced by 8 lines.
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)