Searched refs:magCenter (Results 1 – 2 of 2) sorted by relevance
85 scope.$watch('magnifyCenter', function(magCenter) { argument92 if (!magCenter) {96 var magX = magCenter.x - MAGNIFIER_HALF_WIDTH;97 var magY = magCenter.y - MAGNIFIER_HALF_HEIGHT;108 var imgRect = { x: (magCenter.x / scope.imgScaleFactor) - MAGNIFIER_HALF_WIDTH,109 y: (magCenter.y / scope.imgScaleFactor) - MAGNIFIER_HALF_HEIGHT,