[wxPython-users] Help me with a nudge in the right direction
Christopher Barker
Chris.Barker at noaa.gov
Fri Feb 9 09:58:03 PST 2007
Peter,
You may want to give FloatCanvas a look, it'll take care of a fair bit
of the book keeping for you. Their is an old-ish version in
wx.lib.floatcanvas, but there is a newer one with extra demos at:
http://www.mithis.com/~chrisb/
You can send questions to me or the floatcanvas list (preferred):
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
> Now I need to understand how to handle the DrawSpline method in order
> for me to draw the thorax profile of a woman with big breasts...
> Is there another way to draw that kind of a path? I need to draw it with
> wxPython because I also need to morph it (small breasts to big breasts)
With DCs, DrawSpline is about it. (and FloatCanvas has a Spline object)
> Something like a DrawPath mimicking the d element parameter from the
> path element of SVG would be superb.
> http://www.w3.org/TR/SVG11/paths.html
You might want to check out the new GraphicsContext -- I haven't used it
yet, but it designed to provide more control over drawing that DCs,
including path-based drawing.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list