Lines Matching refs:floor

117 … b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/
190 ….hachureGap:e.dashGap,r=[];return a.forEach(function(a){var f=h(a),g=Math.floor(f/(b+d)),f=(f+d-g*…
207 …trokeWidth:c,fill:"none"}}}],[{key:"newSeed",value:function(){return Math.floor(Math.random()*Math…
322 …Math.ceil(d);for(f=0;g>a;){var g=Math.floor(c)/c,k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==…
596 …ke",m.fontBorderColor||"none"),b.setAttribute("x",Math.floor(n.x-1)),b.setAttribute("y",Math.floor
795 u=mxUtils.getNumber(x,mxConstants.STYLE_STROKEWIDTH,1);if(null!=k){var y=m+this.spacing+Math.floor(…
796 …t);this.setChildGeometry(r,t);n=r;k=t;m=c?k.x+k.width+Math.floor(u/2):k.y+k.height+Math.floor(u/2)…
903 …poseVariable(b)}c.sort(function(a,b){return a-b});if(1==d%2)return c[Math.floor(d/2)];if(2==d)retu…
919 …iable(b);c.sort(function(a,b){return a-b});if(1==a.length%2)return c[Math.floor(a.length/2)];d=a.l…
1045 …xPoint(e,f),u=new mxPoint(e,f+k)):n<f+k/4?(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=…
1046floor(.25*k))):n>f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,…
1048floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):m>e+3*g/4&&(b=new mxPoint(…
1049floor(.25*k));if(p==r)return new mxPoint(e+Math.floor(.5*g),f);if(p==q-m)return new mxPoint(e,f+Ma…
1050floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):p>r&&p<q-m?(b=new mxPoint(e-M…
1051floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f);if(p==q||p==-q)return new mxPo…
1052floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mxPoint(e…
1337 null!=g.x?Math.floor(this.view.translate.x-g.x/k+a/e+c/2):a,null!=g.y?Math.floor(this.view.translat…
1341 …,d.width);d.height=Math.max(1,d.height);f.x=Math.floor((d.x-c.x*b)/f.width)*f.width+c.x*b;f.y=Math…
1440 ….scrollHeight,a>g&&(n=0),b>f&&(p=0),this.view.setTranslate(Math.floor(n/2-k.x),Math.floor(p/2-k.y)…
1441 …ntainer.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,b?Math.floor(l…
1539 …dth,e=this.image.height;if(b)if(b=a.absolutePoints,1==b.length%2)b=b[Math.floor(b.length/2)];else{…
1771 …iew.translate;this.shape.bounds.x=Math.floor((a.x+c.x)*b-this.shape.bounds.width/2);this.shape.bou…
1791 …oveSizerTo=function(a,b,c){null!=a&&(a.bounds.x=Math.floor(b-a.bounds.width/2),a.bounds.y=Math.flo…
1792 …olerance:null,d=null!=d?new mxRectangle(a.getGraphX()-Math.floor(d/2),a.getGraphY()-Math.floor(d/2…
1913floor(d-b.width/2),Math.floor(e-b.height/2),b.width,b.height);this.bends[0].fill=this.getHandleFil…
1914 …this.virtualBends[a],b.bounds=new mxRectangle(Math.floor(c.x+(d.x-c.x)/2-b.bounds.width/2),Math.fl…
1933 …ANDLE_SIZE+3,d=mxConstants.HANDLE_SIZE+3,c=new mxRectangle(Math.floor(e.x-c/2),Math.floor(e.y-d/2)…
1946 …ends[e+1].bounds;this.bends[e+1].bounds=new mxRectangle(Math.floor(f.x-g.width/2),Math.floor(f.y-g…
2024 …olor:function(a,b){function c(a,b,c){if(null===a)return[c,c,c];var d=Math.floor(a),e=c*(1-b);a=c*(…
2035 …-1))-Math.floor(mxJSColor.images.cross[0]/2)+"px "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv…
2036 …"+b[2]*(1-d/a.length)*100+"%)";break;case 1:var e,f=[r.hsv[2],0,0],d=Math.floor(r.hsv[0]),g=d%2?r.…
2037 …e+r.pickerInset+Math.round((1-r.hsv[a])*(mxJSColor.images.sld[1]-1))-Math.floor(mxJSColor.images.a…
2135 ….value);if(isNaN(c)||0>=c)p.value=d.height/100;c=new mxRectangle(0,0,Math.floor(100*parseFloat(n.v…
2136 Math.floor(100*parseFloat(p.value)));"custom"!=h.value&&k.checked&&(c=new mxRectangle(0,0,c.height,…
2165 e=this.graph.pageScale,f=d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min…
2231 …Math.max(c,0),q=Math.max(q,0));if(g||f.width<p||f.height<n)a.view.scaleAndTranslate(b,Math.floor(c-
2232floor(q-m.y)),a.container.scrollTop=k*b/h,a.container.scrollLeft=l*b/h;else if(0!=d||0!=e)f=a.view…
2271 …ePadding();a.container.scrollTop=Math.floor(b.y-this.editor.initialTopSpacing)-1;a.container.scrol…
2272 …x(b.width,a.scrollTileSize.width*a.view.scale);a.container.scrollTop=Math.floor(Math.max(0,b.y-Mat…
2273floor(Math.max(0,b.x-Math.max(0,(a.container.clientWidth-d)/2)))}else{var b=mxRectangle.fromRectan…
2381 function(){u=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideToo…
2495floor(100*Math.min((b-2*this.thumbBorder)/a.width,(d-2*this.thumbBorder)/a.height))/100;this.graph…
2530 …arget.width,this.refreshTarget.height);y.style.left=Math.floor(l.x)+"px";y.style.top=Math.floor(l.…
2535floor(l.x-this.roundDrop.width/2)+"px",L.style.top=Math.floor(l.y-this.roundDrop.height/2)+"px",M.…
2537floor(h.getCenterX()-this.triangleUp.width/2)+"px",E.style.top=Math.floor(l.y-this.triangleUp.heig…
2538 l.height)+"px",G.style.left=Math.floor(l.x-this.triangleLeft.width)+"px",G.style.top=H.style.top,"e…
2562 arguments[2])}var h;h=Number(c.length);h=isNaN(h)?0:0!==h&&isFinite(h)?(0<h?1:-1)*Math.floor(Math.a…
2649floor(Math.ceil(b.x/this.view.scale-this.view.translate.x)/a.width),e=Math.floor(Math.ceil(b.y/thi…
2659 …(String(a).match(c)||[""]).pop().replace(f,""),o:(0<v?"-":"+")+k(100*Math.floor(Math.abs(v)/60)+Ma…
2688 …var d=this.container.clientWidth-b,e=this.container.clientHeight-b,c=Math.floor(20*Math.min(d/a.wi…
2832 …:0;w.textOffset=e?-.5:0;w.imageOffset=e?-.5:0;w.translate(Math.floor(c/b-W.x/Y),Math.floor(c/b-W.y…
3528 …is.get("pageView").funct();var a=c.pageFormat,b=c.pageScale;c.zoomTo(Math.floor(20*Math.min((c.con…
3529 …is.get("pageView").funct();var a=c.pageFormat,b=c.pageScale;c.zoomTo(Math.floor(20*Math.min((c.con…
3530 …this,function(){c.pageVisible||this.get("pageView").funct();c.zoomTo(Math.floor(20*(c.container.cl…
3710floor(k*a),u.value=Math.floor(h*a)):(p.value="100",q.value=k,u.value=h);d()});mxEvent.addListener(…
3711 parseInt(u.value)/h;0<a?(p.value=parseFloat((100*a).toFixed(2)),q.value=Math.floor(k*a)):(p.value="…
3714 ….appendChild(m);l=new mxXmlCanvas2D(m);l.translate(Math.floor((f/c-g.x)/h.view.scale),Math.floor((…
10095 …itor.graph,k=g.getGraphBounds(),n=g.view.scale,f=Math.floor(k.x/n-g.view.translate.x),l=Math.floor
10304 …b){for(var c=0;c<b.entries.length;c++){var f=b.entries[c];u.push(z(y[Math.floor(C/(B/3))],f.title,…
10326 …;z.style.margin="10px";z.style.paddingBottom=Math.floor((100-D)/2)+"px";z.style.paddingLeft=Math.f…
10368 …d(l),G(c,f,d,null,!0))}function E(b,c){ea.innerHTML="";y();for(var f=Math.floor(ea.offsetWidth/150…
10505 [],f=0;f<b;f++)c.push(Editor.GUID_ALPHABET.charAt(Math.floor(Math.random()*Editor.GUID_ALPHABET.len…
10728 …ndingBox(c.getSelectionCells()),m=c.view.scale;k=Math.floor(f.x/m-c.view.translate.x);m=Math.floor
10872floor((new Date-b)/1E3);var c=Math.floor(b/31536E3);if(1<c)return c+" "+mxResources.get("years");c…
11618 x=Math.min(1,Math.min(3*b/(4*t.height),x)),A=Math.floor(t.x),z=Math.floor(t.y);q.setAttribute("widt…
11853 …put");e.appendChild(f);e=new mxXmlCanvas2D(f);e.translate(Math.floor((1-c.x)/d),Math.floor((1-c.y)…
12176 …[5,3,5,3,7,3,5,3,7,3,5,3,7,3,5,3]}var z=k;2<=b?z=k/(2*Math.floor(b/2)):.5>=b&&(z=k*Math.floor(1/b/…