My GUI tool, wxPython provides some methods for implementing a user zoom factor, but the quality is not very good. I am looking for ideas on how to create a zoom function that I know is complicated.
I have a bitmap representing my canvas, which is painted on. This is displayed inside a scrolled window.
The problems that I see: - performance when zooming in and panning around the canvas - difficulties with "real" coordinates and increased coordinates - image quality does not deteriorate when scaling
Using wxPython SetUserScale () in device contexts represents image quality similar to this - this is with a 1px line, at 30% increased.
I am just wondering what are the main steps I should take and the problems that I will encounter. Thanks for any suggestions.
source
share