interesting zoomLevel arithmetic [message #179474] |
Wed, 27 April 2005 17:25 |
Eclipse User |
|
|
|
Originally posted by: christian.sell.netcologne.de
Hello,
I just discovered that changing the zoom level on an empty diagram
yields strange results. I switched zoom levels in the following order:
page - width - height - page
and saw the following percentages displayed in the combo box field:
62500% - 53375000% - 33359375000% - 20849609375000%
and at infinitum. According to my investigations, the reason lies in the
method
ZoomManager.getFitXZoomLevel(int which),
which does not take into account that
FreeformFigure.getFreeformExtent().union(0, 0) is always (1, 1).
I suppose this should be a bug report, right?
christian
|
|
|
|
Powered by
FUDForum. Page generated in 0.02693 seconds