/[thuban]
ViewVC logotype

Revision 2480


Jump to revision: Previous Next
Author: bernhard
Date: Sat Dec 18 00:29:04 2004 UTC (20 years, 2 months ago)
Changed paths: 3
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".


Changed paths

Path Details
Directorytrunk/thuban/ChangeLog modified , text changed
Directorytrunk/thuban/Extensions/svgexport/svgmapwriter.py modified , text changed
Directorytrunk/thuban/Extensions/svgexport/test/test_svgmapwriter.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26