Lines Matching refs:setTranslate

429 …N));else{var b=a.panDx,d=a.panDy;if(0!=b||0!=d)a.panGraph(0,0),a.view.setTranslate(this.t0x+b/a.vi…
1193 mxGraphView.prototype.setTranslate=function(a,b){var c=new mxPoint(this.translate.x,this.translate.… method in mxGraphView
1405 mxGraph.prototype.zoomActual=function(){1==this.view.scale?this.view.setTranslate(0,0):(this.view.t…
1406 …llWidth,b=this.container.scrollHeight,a>g&&(n=0),b>f&&(p=0),this.view.setTranslate(Math.floor(n/2-…
1407 (a-g)/2,this.container.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,…
1414 d.x,this.view.translate.y=d.y,this.view.setTranslate(c.x,c.y)))};
1416 ….scrollTop+=e+2));this.useScrollbarsForPanning||0==d&&0==g||this.view.setTranslate(d,g)}else{var g…
1498 …ner.scrollTop)){var d=this.view.scale,e=this.view.translate;this.view.setTranslate(e.x-this.contai…
1513 …t.getClientY(f)-n.top)*e/this.source.view.scale,this.source.getView().setTranslate(p.x-l,p.y-n),th…
1514 …-b.y)*e/this.source.view.scale,f=this.source.view.translate;this.source.getView().setTranslate(f.x-
1618 mxPanningHandler.prototype.panGraph=function(a,b){this.graph.getView().setTranslate(a,b)};mxPanning…
2198 …ntainer.scrollLeft=k*d/q;else if(0!=c||0!=e)l=b.view.translate,b.view.setTranslate(Math.floor(l.x+…
2217 …d.x,this.view.y0=d.y,d=b.view.translate.x,c=b.view.translate.y,b.view.setTranslate(e,f),b.containe…
2226 …(),e=40/b.view.scale,mxEvent.isShiftDown(d)?b.view.setTranslate(c.x+(f?-e:e),c.y):b.view.setTransl…
2237 …0,b.container.scrollLeft=0,mxUtils.hasScrollbars(b.container)||b.view.setTranslate(0,0);else if(!t…
2239 ….view.scale;c.x=c.x/k-e.x;c.y=c.y/k-e.y;c.width/=k;c.height/=k;b.view.setTranslate(Math.floor(Math…
4042 …g.resize||""==b.style.height?(d=null!=d?d:new mxPoint,this.graph.view.setTranslate(Math.floor(this…
4043 …ar b=this.graph,c=b.getGraphBounds(),e=b.border,k=b.view.scale;b.view.setTranslate(null!=c.x?Math.…
4056 (c.setTranslate(this.graph.originalViewState.translate.x,this.graph.originalViewState.translate.y),…