Lines Matching refs:round

157 …0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}function C(b,a){var e=[0,0],c=Math.round(a.hachureAngle+90)…
159 …0;k<m.length;k+=2){g=k+1;if(g>=m.length)break;f.push([[Math.round(m[k].edge.x),r],[Math.round(m[g]…
192 …ion(a,e,c){var b=this,d=[];return a.forEach(function(a){var f=h(a),f=Math.round(f/(2*e)),k=a[0],m=…
301round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.widt…
318 …ment("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=Math.round
331 …th),e=parseInt(b.style.height);b.style.width=Math.round(c*a.view.scale)+"px";b.style.height=Math.r…
436 …iewOffset.y);this.previewElement.style.left=Math.round(e)+"px";this.previewElement.style.top=Math.
461 …eturn active};this.getDx=function(){return Math.round(this.tdx)};this.getDy=function(){return Math…
496 …0,rotationCy:0}};mxAbstractCanvas2D.prototype.format=function(a){return Math.round(parseFloat(a))};
546 …,g=this.createElement("text"),g.setAttribute("x",Math.round(b+d.dx)),g.setAttribute("y",Math.round
547 d.fontFamily),g.setAttribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("t…
578 …;d=Math.round(b+d);0>d?k.setAttribute("y",d):(k.removeAttribute("y"),e+="padding-top: "+d+"px; ");…
580 …idth: "+Math.round(a)+"px; ",p+="max-height: "+Math.round(b)+"px; ",r=0):"fill"==f?(t="width: "+Ma…
581round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<…
586 …s2D.prototype.createClip=function(a,b,c,d){a=Math.round(a);b=Math.round(b);c=Math.round(c);d=Math.
589 …m",t);1>k.alpha&&r.setAttribute("opacity",k.alpha);t=e.split("\n");p=Math.round(q*mxConstants.LINE…
604 ….rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.x;if(this.rounded||null!=d&&null==d.ce…
608 mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.s…
617 …=this.minSvgStrokeWidth;this.antiAlias||(a.format=function(a){return Math.round(parseFloat(a))});r…
619 …nsform.Microsoft.dropShadow (OffX='"+Math.round(mxConstants.SHADOW_OFFSET_X*this.scale)+"', OffY='…
623round(this.bounds.x-b/2)+"px";a.style.top=Math.round(this.bounds.y-b/2)+"px";"CSS1Compat"==documen…
635 1,b.length)];l<b.length-2&&0==Math.round(m.x-g.x)&&0==Math.round(m.y-g.y);)m=b[mxUtils.mod(l+2,b.le…
710 …ull!=e.firstChild&&"DIV"==e.firstChild.nodeName&&(e=e.firstChild):(d=Math.round(this.bounds.width/…
719round(this.bounds.width/this.scale)),b=Math.max(0,Math.round(this.bounds.height/this.scale)),c="po…
723 …nsform","scale("+this.scale+") translate("+100*c+"%,"+100*d+"%)"));b.left=Math.round(this.bounds.x-
724 Math.ceil(c*("fill"!=this.overflow&&"width"!=this.overflow?3:1)))+"px";b.top=Math.round(this.bounds…
726 …is.updateFont(g);this.updateSize(g,!1);this.updateInnerHtml(g);var l=Math.round(this.bounds.width/…
728 …s.overflow&&(this.clipped&&(e=Math.min(l,e)),l=e,this.wrap&&(a.width=Math.round(l)+"px"));var g=f*…
729 …a.filter+(" "+m):m);a.zoom=d;a.left=Math.round(this.bounds.x+((l-l*k+g*n)/2-e*b-f*c)-l/2)+"px";a.t…
735 …pdateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Ma…
745round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width…
755 …;b.x-=this.bounds.x;b.y-=this.bounds.y;a.style.left=Math.round(b.x)+"px";a.style.top=Math.round(b.…
756 Math.round(b.width)+"px";a.style.height=Math.round(b.height)+"px";a.src=this.image;this.node.append…
757 …inder.prototype.getCylinderSize=function(a,b,c,d){return Math.min(this.maxHeight,Math.round(d/5))};
840 …tion[d][1]-=l.height/2,p=this.graph.snap(Math.round(this.cellLocation[d][0])),q=this.graph.snap(Ma…
848 …s.isVertexMovable(a[g])&&this.setVertexLocation(a[g],Math.round(c+b+b*Math.sin(g*f)),Math.round(d+…
1028round(e.x-this.width/2);this.y=Math.round(e.y-this.height/2)}null!=this.sourcePoint&&(e=mxUtils.ge…
1029round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng…
1078round((b+d.x)*this.scale)+"px";e.style.marginTop=Math.round((c+d.y)*this.scale)+"px";e.setAttribut…
1116 …Wrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",e=Math.round(this.bounds.width/…
1118round(a*c)+"px",this.textarea.style.height=Math.round(e*c)+"px"):(this.textarea.style.left=Math.ma…
1119round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8…
1120 …ll"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=Math.round(this.bounds.width/…
1125round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.backgroundColor=…
1137 …M&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.round(c.width),Mat…
1177 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!…
1180 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M…
1195 …=Math.max(b.x,c.x),k=Math.min(b.x+b.width,c.x+c.width),a=null!=d?d.x:Math.round(k+(a-k)/2),k=f.get…
1197 …enterX(b),null!=d&&d.x>=b.x&&d.x<=b.x+b.width&&(a=d.x),k=null!=d?d.y:Math.round(g+(k-g)/2),mxUtils…
1202 …length-1,1);for(q=0;q<c.length;q++)if(f=c[q],f.x=Math.round(f.x*a.view.scale*10)/10,f.y=Math.round
1206round(a[d].x/b*10)/10,Math.round(a[d].y/b*10)/10);c[d]=e}else c[d]=null;else c=null;return c},scal…
1207 b*10)/10,Math.round(a.width/b*10)/10,Math.round(a.height/b*10)/10)):c=null;return c},OrthConnector:…
1217 ….DIRECTION_MASK_WEST))?0:1)==m?0:1)==(f+1)%2);v++)e.push(new mxPoint(Math.round(mxEdgeStyle.wayPoi…
1218 a.view.scale*10)/10,Math.round(mxEdgeStyle.wayPoints1[v][1]*a.view.scale*10)/10));for(a=1;a<e.lengt…
1271 …(var e=a.absolutePoints.length,f=Math.round(((null!=b?b.x/2:0)+.5)*a.length),g=a.segments[0],k=0,l…
1342 …==this.horizontalPageBreaks?[new mxPoint(Math.round(f.x),Math.round(f.y+c*f.height)),new mxPoint(M…
1343 l),Math.round(f.y+c*f.height))]:[new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y)),new mxPoint…
1363 …);c&&(l.x=Math.round(l.x+n.x-b-p.x-g),l.y=Math.round(l.y+n.y-b-p.y-d));l.width=Math.round(n.width+…
1387 …ght=Math.round(d.height*c.width*100/d.width)/100);l==mxConstants.ALIGN_RIGHT?d.x+=d.width-c.width:…
1388 Math.round((d.height-c.height)/2));d.width=c.width;d.height=c.height}if(!b&&!e){var n=this.view.get…
1404 …et?d.offset=new mxPoint(Math.round(b),Math.round(c)):(d.offset.x=Math.round(parseFloat(d.offset.x+…
1413 …k+c.x,(a.y-c.y)*g-l+c.y);return new mxConnectionConstraint(new mxPoint(0==c.width?0:Math.round(1E3*
1414 (a.x-c.x)/c.width)/1E3,0==c.height?0:Math.round(1E3*(a.y-c.y)/c.height)/1E3),!1)}return null};mxGra…
1422 …in(a),d=mxUtils.getRotatedPoint(d,e,g,f))}c&&null!=d&&(d.x=Math.round(d.x),d.y=Math.round(d.y));re…
1433 …t.REFRESH))};mxGraph.prototype.snap=function(a){this.gridEnabled&&(a=Math.round(a/this.gridSize)*t…
1434 …ath.round(b.x/g-f.x)+f.x)*g,a.x=Math.abs(a.x-d)<c?0:Math.round(a.x/g)*g-d),e||(b=b.y-(Math.round(b…
1442 mxGraph.prototype.zoom=function(a,b){b=null!=b?b:this.centerZoom;var c=Math.round(this.view.scale*a…
1443 …,this.container.scrollLeft=(this.view.translate.x-f)*this.view.scale+Math.round(k*a+d),this.contai…
1444 g)*this.view.scale+Math.round(l*a+e))}};
1446 …his.view.setScale(c),this.container.scrollLeft=Math.round(a.x*b),this.container.scrollTop=Math.rou…
1540 …ht/2:a.y+a.height;return new mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offset.x)*c),M…
1550 …ox();this.svg.setAttribute("viewBox",Math.round(a.x)+" "+Math.round(a.y)+" "+Math.round(a.width)+"…
1609 …Math.round(a.x),a.width=Math.ceil(a.width)),a.height<this.minimumSize?(a.y-=(this.minimumSize-a.he…
1616 …function(){};mxGraphHandler.prototype.roundLength=function(a){return Math.round(100*a)/100};mxGrap…
1623 …his.pBounds&&(this.shape.bounds=new mxRectangle(Math.round(this.pBounds.x+this.currentDx),Math.rou…
1651 mxPanningHandler.prototype.zoomGraph=function(a){var b=Math.round(this.initialScale*a.scale*100)/10…
1732 …oint.x/f-e.x,this.currentPoint.y/f-e.y);c.x=Math.round(g.x-c.width/2-this.graph.panDx/f);c.y=Math.
1733 …l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=g&&(c.x=Math.round(l));Math.abs(e-c.y)<=g&&(c.y=Math.roun…
1747 …orConstraint(a,this.constraints[b],c),d=new mxRectangle(Math.round(c.x-d.width/2),Math.round(c.y-d…
1750 …aint(b,this.constraints[c],d),f=e.src,e=new mxRectangle(Math.round(d.x-e.width/2),Math.round(d.y-e…
1786 …nBounds=function(a){return new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Mat…
1801 …roundAngle=function(a){return Math.round(10*a)/10};mxVertexHandler.prototype.roundLength=function(…
1807 1,this.currentAlpha=Math.round(this.currentAlpha/raster)*raster):this.currentAlpha=this.roundAngle(…
1826 …=mxUtils.getRotatedPoint(new mxPoint(Math.round((this.labelShape.bounds.getCenterX()-this.startX)/…
1827 …ldOffsetX&&0==this.childOffsetY||this.moveChildren(a,Math.round(this.childOffsetX/d),Math.round(th…
1828 …/2;4<d?(r+=c,r=e?this.graph.snap(r/f)*f:Math.round(r/f)*f):3>d&&(a+=c,a=e?this.graph.snap(a/f)*f:M…
1829 …+=b,p=e?this.graph.snap(p/f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.graph.snap…
1835 …tyle[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),g=Math.round(4*g/Math.PI),m=new…
1873 …type.removeHint=function(){};mxEdgeHandler.prototype.roundLength=function(a){return Math.round(a)};
1902 …(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x);a.y=Math.round(a.y/c…
1903round(1E4*g.x)/1E4;e.y=Math.round(g.y);e.offset=new mxPoint(0,0);g=this.graph.view.getPoint(a,e);e…
1904 (g.x+(k.x-g.x)/2))/f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};m…
1912 …teOffset.y);this.labelShape.bounds=new mxRectangle(Math.round(this.label.x-b.width/2),Math.round(t…
1918 …isibility="visible";this.bends[c].bounds=new mxRectangle(Math.round(d-f.width/2),Math.round(e-f.he…
1919 …onstants.HANDLE_SIZE+3,this.bends[c].bounds=new mxRectangle(Math.round(d-w/2),Math.round(e-h/2),w,…
1920 …el){var a=this.labelShape.bounds,b=new mxRectangle(Math.round(this.label.x-a.width/2),Math.round(t…
1931 ….x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x-e.x);a.y=Math.round(a.y…
1933 d=d.height;c=new mxRectangle(Math.round(e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?th…
1936 …onvertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.x-f.x)&&(c.x=a.x,f.x=a.x),0==Math.rou…
1938 …=2;l<e.length;l++){var m=e[l];0==Math.round(f.x-g.x)&&0==Math.round(g.x-m.x)||0==Math.round(f.y-g.…
1939round(e[0].x-e[e.length-1].x)||0==Math.round(e[0].y-e[e.length-1].y)))k=[b,b];else if(5==e.length&…
1941 …=2;p<l.length;p++){var q=l[p];0==Math.round(m.x-n.x)&&0==Math.round(n.x-q.x)||0==Math.round(m.y-n.…
1943 …ualBend();a.push(b);var e=0==Math.round(c[d].x-c[d+1].x);0==Math.round(c[d].y-c[d+1].y)&&d<c.lengt…
1945 …ength){var d=!1;if(4==c.length&&0==Math.round(c[1].x-c[2].x)&&0==Math.round(c[1].y-c[2].y))if(d=!0…
2004 …ute("x",Math.round(p.x)),n.setAttribute("y",Math.round(p.y)),n.setAttribute("width",Math.round(p.w…
2005round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.rou…
2035 …Inset+Math.round(r.hsv[0]/6*(mxJSColor.images.pad[0]-1))-Math.floor(mxJSColor.images.cross[0]/2)+"…
2037 …icker.sldM.style.backgroundPosition="0 "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv[a])*(mxJS…
2044 …!1};this.toString=function(){return(256|Math.round(255*this.rgb[0])).toString(16).substr(1)+(256|M…
2045 (256|Math.round(255*this.rgb[2])).toString(16).substr(1)};var r=this,t="hvs"===this.pickerMode.toLo…
2093 …w.translate.y)a.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),a.setAttribute(…
2100 …window.innerHeight);var t=v.height,w=Math.max(1,Math.round((v.width-d-u)/2)),x=Math.max(1,Math.rou…
2104 …ils.getDocumentSize().height+"px");w=Math.max(1,Math.round((c.width-d-u)/2));x=Math.max(1,Math.rou…
2157 …undPageBounds(),c=1+f.x,f=1+f.y);e=-Math.round(e-mxUtils.mod(this.translate.x*this.scale-c,e))+"px…
2160 …w.scale*this.view.gridSteps,e=-Math.round(e-mxUtils.mod(this.view.translate.x*this.view.scale+b,e)…
2161 …zontalPageBreaks?v:t,c=0;c<=b;c++){var d=a==this.horizontalPageBreaks?[new mxPoint(Math.round(k.x),
2162round(k.y+(c+1)*h.height)),new mxPoint(Math.round(w),Math.round(k.y+(c+1)*h.height))]:[new mxPoint…
2210 …;else{d.geometry.x=m.snap(Math.round(a/m.view.scale)-m.view.translate.x-c.geometry.width/2);d.geom…
2229 …ion(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.ma…
2251 …setTranslate(e,c),a.container.scrollLeft+=Math.round((e-b)*a.view.scale),a.container.scrollTop+=Ma…
2256round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale):.15>=this.view.scale*this.…
2363 …ph2.view.scale=!h&&(d>this.maxTooltipWidth||e>this.maxTooltipHeight)?Math.round(100*Math.min(this.…
2364 …dth>d||m.height>e)?(d=Math.round(100*Math.min(d/m.width,e/m.height))/100,mxClient.NO_FO?(this.grap…
2367 …"px");this.tooltip.style.height=e+"px";c=-Math.round(m.x-this.tooltipBorder)+(h>d?(h-d)/2:0);d=-Ma…
2506 c.getDefaultParent())){c.model.beginUpdate();try{h=Math.round(h);g=Math.round(g);if(b&&c.isSplitTar…
2511 …,v.x,v.y,null,null,!0)}}else m=h.getCellGeometry(b[e]),q=f.x-Math.round(m.x),u=f.y-Math.round(m.y),
2512 f.x=Math.round(m.x),f.y=Math.round(m.y),h.model.setGeometry(b[e],f),h.cellsMoved(b,q,u,null,null,!0…
2526 …ment.style.left=Math.round(parseInt(this.previewElement.style.left)-c.width*d.scale/2)+"px",this.p…
2556 …(this.createVertexTemplateEntry("shape="+a+b.toLowerCase()+e,Math.round(g*k),Math.round(f*k),"",b.…
2557 …Child(this.createVertexTemplate("shape="+b+d.toLowerCase()+e,Math.round(f*k),Math.round(h*k),"",d.…
2575 …ength||3==n.length&&(0==Math.round(n[0].x-n[1].x)&&0==Math.round(n[1].x-n[2].x)||0==Math.round(n[0…
2577 …restSegment(c,b.getGraphX(),b.getGraphY()),d<n.length-1&&0<=d&&(e=0==Math.round(n[d].x-n[d+1].x)?"…
2630 …h.round(100*this.currentScale)/100;a.setAttribute("transform","scale("+c+","+c+")translate("+Math.
2659 …hh:k(p%12||12),H:p,HH:k(p),M:q,MM:k(q),s:u,ss:k(u),l:k(h,3),L:k(99<h?Math.round(h/10):h),t:12>p?"a…
2679 …CellGeometry(d[f]);if(null!=k&&null!=h){var g=Math.round(h.width-k.width/this.view.scale),l=Math.r…
2681 …ll!=f&&null!=k&&(k=k.clone(),k.translate(Math.round(d*Math.max(0,Math.min(1,(f.x-a.x)/a.width))),M…
2686 …iew.scale?this.zoom((this.view.scale+.01)/this.view.scale):this.zoom(Math.round(this.view.scale*th…
2687 …iew.scale?this.zoom((this.view.scale-.01)/this.view.scale):this.zoom(Math.round(1/this.zoomFactor*…
2717 …veOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this…
2718round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.hei…
2739 …(e+=(null!=g.alternateBounds?g.alternateBounds.width:g.width)*f/c,k.push(Math.round(e)))}return k};
2744 …l!=p&&(p=p.clone(),p.x=b.x,p.width=l,p.y=Math.round(v),v=c||e?v+p.height:v+p.height/n*g,p.height=M…
2754 …,m.push(y),this.addPoints(a,m,c,d,!1,null,k),m=0>Math.round(n.x)||0==Math.round(n.x)&&0>=Math.roun…
2811 …his.view,b=this.getGraphBounds(),c=this.getInsertPoint(),d=this.snap(Math.round(Math.max(c.x,b.x/a…
2812round(Math.max(c.y,(b.y+b.height)/a.scale-a.translate.y+2*this.gridSize)));return new mxPoint(d,a)…
2813 … mxPoint(this.snap(Math.round(this.container.clientWidth/2/this.view.scale-this.view.translate.x-a…
2814round(1E4*e.x)/1E4;d.geometry.y=Math.round(e.y);d.geometry.offset=new mxPoint(0,0);var e=this.view…
2815 e.x-(null!=c?c.origin.x:0),d.geometry.y=Math.round(b/this.view.scale)-e.y-(null!=c?c.origin.y:0),d.…
2827 …cell),d=d+h;null!=m&&null!=l&&(m=m.clone(),a?m.x=Math.round(d-m.width/2)-l.origin.x:m.y=Math.round
2850 …){function c(a,b){a.length>b&&(a=a.substring(0,Math.round(b/2))+"..."+a.substring(a.length-Math.ro…
2865 …gh");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE…
2866 "px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.te…
2868 Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Mat…
2870round((this.bounds.width-4)/c)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/c…
2871round(this.bounds.width/c)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.…
2877 …(c,e)+", "+b(d,e);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.widt…
2897 …LE_ROTATION]||"0");null==c&&(c=this.bounds);this.hint.style.left=c.x+Math.round((c.width-this.hint…
2900 …ath.round(100*g.x)+"%, "+Math.round(100*g.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.v…
2923 …ingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Mat…
2938 …Hint.style.left=Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px",this.linkHi…
2941 …Hint.style.left=Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px";this.linkHi…
2982 …Int(a.value);isNaN(q)||b!=mxConstants.STYLE_ROTATION||(q=mxUtils.mod(Math.round(100*q),36E3)/100);…
3045 …,c-a.width,!0),!0;0<a.width&&(c=Math.max(1,b.fromUnit(c)),t.checked&&(a.height=Math.round(a.height*
3046 …ght),!0;0<a.height&&(c=Math.max(1,b.fromUnit(c)),t.checked&&(a.width=Math.round(a.width*c*100/a.he…
3114 …NaN(n)?"":n+" pt",z=parseFloat(p),isNaN(z)?ia.value="100 %":ia.value=Math.round(100*z)+" %"),d=m.c…
3255 …ylinder);f.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)+this.strokewi…
3256 …Margins=function(a){return new mxRectangle(0,2.5*Math.min(a.height/2,Math.round(a.height/8)+this.s…
3283 ….apply(this.canvas,arguments);this.lastX=a;this.lastY=b;return}var f=Math.round(r/10),g=this.defau…
3289 …OUNDING_FACTOR)/100,d=Math.max(d,Math.min(b*e,c*e));a.x+=Math.round(d);a.width-=Math.round(2*d)}re…
3290 …ts.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(d*r,e*r)));f=Math.round(f);a.begin();a.mov…
3405 …ath.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));a.style.width=Math.round(2*b)/a.view.scale-…
3408 …return new mxPoint(c.x+d,c.y+d)},function(b,c){this.state.style.size=Math.round(Math.max(0,Math.mi…
3413 ….STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(b.width,2*(b.x+b.width-c.x)))):this.state.style[mxC…
3415 …le[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style…
3417 …stants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.startWi…
3420 Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.sca…
3421 …Dist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(d-a.shape.str…
3422 3)/100/a.view.scale;a.style.endWidth=Math.max(0,Math.round(2*c)-a.shape.getEdgeWidth())/a.view.scal…
3424 …tate.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(b.height,c.y-b.y))):Math…
3426round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){return[T(a,["width","hei…
3427 Math.min(a.width,b.x-a.x)));this.state.style.height=Math.round(Math.max(1.5*U.prototype.corner,Math…
3429 …ew mxPoint(a.x+a.width-b,a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.mi…
3430 …ew mxPoint(a.x+a.width-b,a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.mi…
3431 Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))},!1)];mxUtils.getValue(a.style,mxConstants…
3433round(Math.max(0,Math.min(a.height,a.y+a.height-b.y)));this.state.style.position=Math.round(100*Ma…
3434 …state.style,"position",y.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.mi…
3435 …function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.sty…
3436 …rn new mxPoint(a.x+b/2,a.y+2*c)},function(a,b){this.state.style.jettyWidth=Math.round(2*Math.max(0,
3437round(Math.max(0,Math.min(a.height,b.y-a.y))/2)})]},corner:function(a){return[T(a,["dx","dy"],func…
3438 …n(a,b){this.state.style.dx=Math.round(Math.max(0,2*Math.min(a.width/2,b.x-a.x-a.width/2)));this.st…
3440 …_RIGHT&&(c=a.width-c);this.state.style.tabWidth=Math.round(c);this.state.style.tabHeight=Math.roun…
3443 …return new mxPoint(a.x+b,a.y+b)},function(a,b){this.state.style.size=Math.round(100*Math.max(0,Mat…
3444 b){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(b.y-a.y)/a.height)))/100});b…
3505 …tBoundingBoxFromGeometry(a,b);null!=e&&(b=Math.round(c.snap(c.popupMenuHandler.triggerX/d-f)),d=Ma…
3550 k=c.getCellGeometry(a);h=Math.round(c.snap(c.popupMenuHandler.triggerX/f-h));f=Math.round(c.snap(c.…
3631 …rtcut+")"));this.updateZoom=mxUtils.bind(this,function(){d.innerHTML=Math.round(100*this.editorUi.…
3816 …&&null==l||0>mxUtils.indexOf(l,b))c={style:"shape="+c+b+d,w:Math.round(f*p),h:Math.round(g*p)},b=n…
10202 …m.width,520/m.height));k&&(f=b.convertDataUri(f));c(f,Math.round(Number(m.width)*g),Math.round(Num…
10325 …(1,m)),b.maxImageSize/Math.max(1,g));m*=O;g*=O}J>D?(D=Math.round(100*D/J),J=100):(J=Math.round(100…
10536 …n,L=new Image;L.onload=function(){try{for(var b=-Math.round(C-mxUtils.mod((K-E)*g,C)),c=-Math.roun…
10540 "dpi"==f?(f=Math.round(d/.0254),f=g(f)+g(f)+String.fromCharCode(1)):f=f+String.fromCharCode(0)+("zT…
10701 …c,d){var f=null==b||null==c;d=null!=d?d:24;var e=new Spinner({lines:12,length:d,width:Math.round(d/
10702 3),radius:Math.round(d/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,sh…
10720round(25*Math.random()))):e.toUpperCase()!=e?f.push(String.fromCharCode(97+Math.round(25*Math.rand…
10758 …width"!=c&&"height"!=c?d&&"mxCell"==b.nodeName&&"previous"==c?null:f:Math.round(f)},c)<<0}return f…
10866 …b&&(p+="max-width:100%;");var q="";d&&(q=' width="'+Math.round(l.width)+'" height="'+Math.round(l.…
10867 …AREA&&c.length<=MAX_REQUEST_SIZE){var p="";d&&(p="&w="+Math.round(2*l.width)+"&h="+Math.round(2*l.…
10902 …this.maxImageSize/e.width,this.maxImageSize/e.height)),g=Math.round(e.width*l);e=Math.round(e.heig…
11594 …?"_"+Math.round((Date.now()-b.savingFileTime.getTime())/1E3):"")+(null!=b.saveLevel?"-sl_"+b.saveL…
11595round((Date.now()-b.opened.getTime())/1E3):"x")+"-save_"+(null!=b.lastSaved?Math.round((Date.now()…
11872 …n(c.maxImageSize/n,c.maxImageSize/p)):1;c.importFile(b,d,l,m,Math.round(n*f),Math.round(p*f),e,fun…
11996 …codeURIComponent(JSON.stringify({x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),hei…
12156 …Child(S)}(function(b){var c=mxUtils.bind(this,function(){b.innerHTML=Math.round(100*m.editor.graph…
12174 …=q;this.canvas=t;var x=function(b,c,e,f,g){b=Math.round(b);c=Math.round(c);e=Math.round(e);f=Math.
12177 …,t.width,l);u.fillStyle=p.fontClr;for(f=f?e:e%(z*b);f<=c;f+=z*b)if(A=Math.round((f-e)/b/z),!(f<l||…
12183 …matText=function(b){switch(this.unit){case mxConstants.POINTS:return Math.round(b);case mxConstant…