how to do a zoom in/out with wxpython? what are the very basics for this purpose? I googled this, but could not find much, thanks!!
@fseto: thank you soo much
serina
2010-09-03 10:27:24
+2
A:
You should look at FloatCanvas or FloatCanvas2. I know one of them has a zooming (and maybe panning) feature. You can get ideas about drawing rectangles from Whyteboard. Here's a few links:
http://wiki.wxpython.org/FloatCanvas http://www.wxpython.org/docs/api/wx.lib.floatcanvas-module.html http://whyteboard.org/
Mike Driscoll
2010-09-03 13:57:20
@Mike: thank you, but how am I gonna install it into my folder? I tried but failed... thanks ~~
serina
2010-09-03 17:58:02
You should be able to unzip FloatCanvas to your folder (if it's not already included with wxPython). Whyteboard is a program all by itself. I just recommend downloading the source and reading it.
Mike Driscoll
2010-09-07 13:40:38