Lines Matching refs:x
239 this._pan = {x: 0, y: 0}
274 …, newScale = Math.min(this.width/(this._viewBox.width - this._viewBox.x), this.height/(this._viewB…
278 newCTM.e = (newCTM.e - this._viewBox.x) * newScale; //x-transform
294 this._pan.x = this.initialCTM.e
308 this._viewBox = {x: 0, y: 0, width: 0, height: 0}
316 this._viewBox.x = viewBoxValues[0]
338 this._viewBox.x = 0
454 …var k = svg.createSVGMatrix().translate(point.x, point.y).scale(zoomScale).translate(-point.x, -po…
486 _point.x = point.x
508 this.getPublicInstance().pan({x: this.initialCTM.e, y: this.initialCTM.f})
514 this._pan.x = this.initialCTM.e
541 …var viewportCTM = this.stateTf.inverse().translate(point.x - this.stateOrigin.x, point.y - this.st…
546 this._pan.x = viewportCTM.e
550 this.options.onPan(this._pan.x, this._pan.y)
555 …s.setCTM(this.stateTarget, svg.createSVGMatrix().translate(point.x - this.stateOrigin.x, point.y -…
662 …var newScale = Math.min(this.width/(this._viewBox.width - this._viewBox.x), this.height/(this._vie…
678 var offsetX = (this.width - (this._viewBox.width + this._viewBox.x) * this.getZoom()) * 0.5
681 this.getPublicInstance().pan({x: offsetX, y: offsetY})
696 viewportCTM.e = point.x
701 this._pan.x = viewportCTM.e
705 this.options.onPan(this._pan.x, this._pan.y)
720 viewportCTM.e += point.x
725 this._pan.x = viewportCTM.e
729 this.options.onPan(this._pan.x, this._pan.y)
739 return {x: this._pan.x, y: this._pan.y}
1003 point.x = evt.clientX
1018 point.x = evt.clientX
1036 point.x = width / 2