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!!
Instead of zoom, perhaps 'scaling' is what you're looking for:
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/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.