bernhard: thuban/Extensions/svgexport/test test_svgmapwriter.py, 1.9, 1.10
Bernhard Herzog
bh at intevation.de
Tue Dec 7 13:00:04 CET 2004
Bernhard Reiter <bernhard at intevation.de> writes:
> The wx docs also say that
> DrawSpline takes only three coordinates, but
> Thuban/UI/classifier.py gives four arguments.
The docs are probably a bit incomplete. There are three versions of
DrawSpline in dc.h:
void DrawSpline(wxCoord x1, wxCoord y1,
wxCoord x2, wxCoord y2,
wxCoord x3, wxCoord y3);
void DrawSpline(int n, wxPoint points[]);
void DrawSpline(wxList *points);
wxPython uses the second one AFAICT. The second and the third both
support any number of points >= 3 apparently.
Bernhard
--
Intevation GmbH http://intevation.de/
Skencil http://skencil.org/
Thuban http://thuban.intevation.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)