[wxPython-users] ANN: wxpsvg, SVG rendering for wxPython
Christopher Barker
Chris.Barker at noaa.gov
Mon Jul 2 17:13:08 PDT 2007
Chris,
Pretty cool!
I haven't looked at the code yet, but I'm hoping that you haven't
married the parser and renderer too much. I really believe in separating
functionality (call it MVC or whatever).
If nothing else, it would be nice to edit a drawing directly, rather
than having to generate SVG, then render it.
I'm also wondering about the scaling part of SVG. Have you taken a look
at wx.lib.FloatCanvas? I designed it before GraphicsContext, so it's
totally DC based, but I'm hoping to update it to use Graphics context
some day. In any case, it's designed to be the a widget for Viewing,
well, scalable vector graphics, so it would be nice to tie it to SVG
some day. Maybe you can get some ideas about how to handle zooming,
scrolling, hit testing, etc from it.
If nothing else, it looks like you've got a great way to define features
that wx.GraphicsContext needs.
Keep up the good work!
-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