test_svgmapwriter.py, 1.9, 1.10
bh at intevation.de
Tue Dec 7 12:50:49 CET 2004
Bernhard Reiter <bernhard at intevation.de> writes:
> On Tue, Dec 07, 2004 at 12:37:52PM +0100, Bernhard Herzog wrote:
>> Looking at the DrawSpline code in wxWidgets, it seems that the
>> coordinates of the spline do not translate directly to the coordinates
>> of the control points of a cubic bezier curve as you assume here.
> Ah, thanks for noticing this.
> So it is broken until I understand this better and can fix it.
The code in wxWidgets/src/generic/dcpsg.cpp is probably a good start for
further analysis since it determines the parameters for the postscript
curveto operator from the DrawSpline parameters. It does that partly in
C++ and partly in postscript.
Intevation GmbH http://intevation.de/
More information about the Thuban-devel