Searched refs:oldZoom (Results 1 – 2 of 2) sorted by relevance
653 INT oldZoom = toolsModel.GetZoom(); in OnDrawOverlayOnCanvas() local654 if (oldZoom < MAX_ZOOM && getNewZoomRect(rcView, oldZoom * 2)) in OnDrawOverlayOnCanvas()660 INT newZoom, oldZoom = toolsModel.GetZoom(); in OnButtonDown() local662 newZoom = (oldZoom < MAX_ZOOM) ? (oldZoom * 2) : MIN_ZOOM; in OnButtonDown()664 newZoom = (oldZoom > MIN_ZOOM) ? (oldZoom / 2) : MAX_ZOOM; in OnButtonDown()668 if (oldZoom != newZoom) in OnButtonDown()
86 INT oldZoom = toolsModel.GetZoom(); in getNewZoomRect() local88 LONG cxView = rcView.right * oldZoom / newZoom, cyView = rcView.bottom * oldZoom / newZoom; in getNewZoomRect()