DeepNestSharp
DeepNestSharp copied to clipboard
AutoFit Zoom to window
Neither the NestMonitor nor Preview Auto-Fit functions are optimal. I have to admit the Canvas scaling/drawing was all new to me and I found it a bit obscure tbh, and nesting multiple instances in a List hasn't worked out ideal; but it's good enough for now.
The current functionality is based on Kevin Stumpf's "WPF simple zoom and drag support in a ScrollViewer" which can be found here on CodeProject.
This is fixed in my "development" branch on my fork if you're interested.
Edit: see 9125550 and 611417a.
Yes, zoom routine should be fixed to maintain outer zooms.