[wxPython-users] Re: Painting and Zooming

Christopher Barker Chris.Barker at noaa.gov
Mon Jul 30 12:53:23 PDT 2007


John Souto wrote:
> Hey guys, thanks a lot, those apps were pretty cool. But I'm sorry I didn't make
> this clearer before,

We'll need a botmore detail here. Most importantly, are you looking at 
doing something with raster images or vector?

Raster is working with Pixels -- vector is working with mathematical 
descriptions of graphic object.

If you're interested in zooming and painting vector graphics, check out:

wx.lib.floatcanvas

It does all the zooming and painting for you, though you'll need to 
write the user interaction stuff yourself. If it looks promising, go to:

http://morticia.cs.dal.ca/FloatCanvas/

and download the latest release (or even better, the SVN version). It 
comes with a bunch of small demos to get you started. Oh, and join the 
mailing list if you have questions:

http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Another option is:

http://sourceforge.net/projects/pygef

it's still in a pretty early stage, but it looks very promising, and has 
features like alpha blending that FloatCanvas doesn't support.

-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