Lines Matching refs:point

445   SvgPanZoom.prototype.zoomAtPoint = function(svg, point, zoomScale, zoomAbsolute) {
452 point = point.matrixTransform(viewportCTM.inverse())
454 …var k = svg.createSVGMatrix().translate(point.x, point.y).scale(zoomScale).translate(-point.x, -po…
482 SvgPanZoom.prototype.publicZoomAtPoint = function(scale, point, absolute) {
484 if (Utils.getType(point) !== 'SVGPoint' && 'x' in point && 'y' in point) {
486 _point.x = point.x
487 _point.y = point.y
488 point = _point
494 this.zoomAtPoint(this.svg, point, scale, absolute)
532 var point;
540 point = SvgUtils.getEventPoint(evt).matrixTransform(this.stateTf)
541 …var viewportCTM = this.stateTf.inverse().translate(point.x - this.stateOrigin.x, point.y - this.st…
553 point = SvgUtils.getEventPoint(evt).matrixTransform(this.viewport.getCTM().inverse())
555 …s.setCTM(this.stateTarget, svg.createSVGMatrix().translate(point.x - this.stateOrigin.x, point.y -…
557 this.stateOrigin = point;
594 var point = SvgUtils.getRelativeMousePoint(svg, evt)
595 this.zoomAtPoint(svg, point, zoomFactor)
689 SvgPanZoom.prototype.pan = function(point) {
696 viewportCTM.e = point.x
697 viewportCTM.f = point.y
713 SvgPanZoom.prototype.panBy = function(point) {
720 viewportCTM.e += point.x
721 viewportCTM.f += point.y
756 , pan: function(point) {that.pan(point)}
757 , panBy: function(point) {that.panBy(point)}
807 , zoomAtPoint: function(scale, point) {
808 that.publicZoomAtPoint(scale, point, true)
810 , zoomAtPointBy: function(scale, point) {
811 that.publicZoomAtPoint(scale, point, false)
1001 var point = svg.createSVGPoint()
1003 point.x = evt.clientX
1004 point.y = evt.clientY
1006 return point.matrixTransform(this.getScreenCTMCached(svg).inverse())
1016 , point = svg.createSVGPoint()
1018 point.x = evt.clientX
1019 point.y = evt.clientY
1021 return point
1034 , point = svg.createSVGPoint()
1036 point.x = width / 2
1037 point.y = height / 2
1039 return point