public void ZoomOut () { int oldPow = (int)System.Math.Round (System.Math.Log (Zoom) / System.Math.Log (ZOOM_FACTOR)); Zoom = System.Math.Pow (ZOOM_FACTOR, oldPow - 1); }