Ultimate cause is some very odd behavior from JViewPort. This code is in effect, a workaround for that odd behavior. It IS therefore 2/3 ugly hack :( Also, refined some of the zoom calculations to be more exact.
Ultimate cause is some very odd behavior from JViewPort. This code is in effect, a workaround for that odd behavior. It IS therefore 2/3 ugly hack :( Also, refined some of the zoom calculations to be more exact.