Ticket #448 (closed defect: fixed)
Opened 2011-04-20T17:09:35-05:00
Last modified 2011-04-28T16:51:25-05:00
Zoom bug: zoom to rect
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Display API | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Zooming to a selected rectangle is not accurate. This functionality can be tested by selecting the ZoomTool and dragging out a rectangle over the currently displayed image. Note the UI is not in place to see the rect you have dragged. But the code should work. It instead zooms near the desired region. The ZoomTool code is not the problem. The problem lies in SwingNavigableImageCanvas.
After Curtis zoom code rewrite this method is still somewhat broken. A negative scale possibility was avoided already. But choosing a zoom rect does not zoom to fit exactly. It is possible to choose a rect and actually zoom out a little.