Lines Matching refs:coords

578     notifyViewerMoved: function (coords) {  argument
579 if (typeof coords == 'undefined') {
580 coords = { 'x': 0, 'y': 0 }; class in PanoJS.notifyViewerMoved
586 this.x + (coords.x - this.mark.x),
587 this.y + (coords.y - this.mark.y)
610 var coords = { 'x': Math.floor(this.width / 2), 'y': Math.floor(this.height / 2) }; class in PanoJS.zoom
613 'x': (coords.x - this.x),
614 'y': (coords.y - this.y)
622 this.x = coords.x - after.x;
623 this.y = coords.y - after.y;
665 moveViewer: function (coords) { argument
666 this.positionTiles({ 'x': (coords.x - this.mark.x), 'y': (coords.y - this.mark.y) });
667 this.notifyViewerMoved(coords);
678 recenter: function (coords, absolute) { argument
680 coords.x += this.x;
681 coords.y += this.y;
685 'x': Math.floor((this.width / 2) - coords.x),
686 'y': Math.floor((this.height / 2) - coords.y)
721 'x': coords.x + motion.x,
722 'y': coords.y + motion.y
788 press: function (coords) { argument
790 this.mark = coords;
793 release: function (coords) { argument
796 'x': (coords.x - this.mark.x),
797 'y': (coords.y - this.mark.y)
821 pointExceedsBoundaries: function (coords) { argument
822 return (coords.x < this.x ||
823 coords.y < this.y ||
824 coords.x > (this.tileSize * Math.pow(2, this.zoomLevel) + this.x) ||
825 coords.y > (this.tileSize * Math.pow(2, this.zoomLevel) + this.y));
858 var coords = self.resolveCoordinates(e);
859 if (self.pointExceedsBoundaries(coords)) {
863 self.press(coords);
939 coords = self.resolveCoordinates(e);
940 if (!self.pointExceedsBoundaries(coords)) {
942 self.recenter(coords);