/plugin/amcharts/assets/amcharts/ |
H A D | serial.js | 5 …b,c=this.autoMarginOffset,d=this.fixMargins,g=this.realWidth,h=this.realHeight,f=c,e=c,l=g;b=h;var… 6 …round(l-g+c));d.top&&e<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-e+c+this.titl… argument 12 …b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize… 13 …round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi… 31 …b!=this.endTime&&b-a>c&&(a=b-c),a!=this.startTime&&b-a>c&&(b=a+c));var d=this.minSelectedTime;if(0… 61 …b,type:"zoomed",start:a,end:h},this.skipZoomed=!0,b.fire(n),this.zoom(a,h),n=!0}else if(f=this.sta… 66 …round(g/2-J)+","+Math.round(d+I)+","+Math.round(g/2+J)+","+d+",0,"+d+","+g,l=l+(" L0,"+g)+(m+Math.… 67 …round(H)+","+Math.round(d/2-E)+","+Math.round(-H)+","+d+",0,0,0"):(l+="A"+I+","+J+",0,0,0,"+(d-d/2… 68 …b]:[F,L,B,A,G,y,x,M,C,b]:K?0<d?[x,b,F]:[F,b,x]:0>g?[x,b,F]:[F,b,x];e.setCN(c,b,D+"front");e.setCN(… argument 74 …b/r==Math.round(b/r)||p)b/v==Math.round(b/v)||p||(this.gridAlpha=this.minorGridAlpha,n=void 0);els… [all …]
|
H A D | funnel.js | 6 b.dataContext));a=c?e.fixNewLines(a):e.fixBrakes(a);return a=e.cleanFromEmpty(a)},startSlices:funct… 7 …b;for(b=0;b<a.length;b++)if(!a[b].started){this.startSlice(this.chartData[b]);break}},startSlice:f… 13 …b[c].pulled&&this.pullSlice(b[c],0)},pullOutAll:function(){var a=this.chartData,b;for(b=0;b<a.leng… 17 …b].value,a.splice(b,1))},animateAgain:function(){var a=this;a.startSlices();for(var b=0;b<a.chartD… 19 …b=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180)),c=Math.round(-this.depth3D*Math.sin(th… 21 …round(p+(g-p-y)):Math.round(p-(g+p-y)),r=x/G,B=2*(-B-(K-r/2)*x)/I,Infinity!=B&&(p=x+B)}B=v-p/G;K=!… 26 …b+c+5>l&&(g=b+c+5):l+u+5>b&&(g=b-5-u);b=g;c=u;n&&(n.translate(t,g),n=n.getBBox(),e.hitRect&&e.hitR… argument 29 …b,r,G,l,t,u,g,!1,w),v.translate(C,O));.1<J&&.1<J&&(q=e.circle(b,J,e.adjustLuminosity(G,.5),l,t,u,g… 30 …round(f/2-L)+","+Math.round(d+J)+","+Math.round(f/2+L)+","+d+",0,"+d+","+f,l=l+(" L0,"+f)+(t+Math.… 31 …round(w)+","+Math.round(d/2-r)+","+Math.round(-w)+","+d+",0,0,0"):(l+="A"+J+","+L+",0,0,0,"+(d-d/2… [all …]
|
H A D | xy.js | 4 …b++)c=d[b],c.ignoreAxisWidth||(c.setOrientation(!1),c.fixAxisPosition(),a[c.position]=!0)}else{d=t… 5 …b,c=this.autoMarginOffset,d=this.fixMargins,g=this.realWidth,e=this.realHeight,f=c,k=c,m=g;b=e;var… 6 …round(m-g+c));d.top&&k<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-k+c+this.titl… argument 12 …b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize… 13 …round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi… 14 …b;for(b=0;b<a.length;b++){var c=a[b];this.setAxisRenderers(c);this.updateObjectSize(c)}},setAxisRe… 16 …b;for(b=0;b<a.length;b++){var c=a[b];c.valueAxis.recalculateToPercents?c.set&&c.set.hide():(c.x=th… argument 18 …b?(a.y=c+f,a.x=d+this.plotAreaWidth+h+k):(a.y=c+this.plotAreaHeight+k,a.x=this.marginLeftReal)}},s… 19 …b=this.chartCursor;b&&b.handleMouseDown&&!this.rolledOverZB&&b.handleMouseDown(a)},update:function… 20 …b;for(b=0;b<a.length;b++)a[b].zoom(this.start,this.end);a=this.graphs;for(b=0;b<a.length;b++)a[b].… argument [all …]
|
H A D | amcharts.js | 18 …b-Number(a.substr(1))),-1!=a.indexOf("%")&&(e=b*Number(a.substr(0,a.length-1))/100));return e};d.f… argument 70 …b){var c=[5,4,2];60>b&&c.shift();for(var e=Math.floor(Math.log(Math.abs(a))*Math.LOG10E),d=0;d<c.l… argument 114 …round(e);c=Math.round(c);a=Math.round(d.toCoordinate(this.width,c));f=Math.round(d.toCoordinate(th… 221 …b.endY=1-this.mouseY/this.height,m=!0);m&&(this.prevY=this.prevX=NaN,this.fire(b),"selected"!=a&&t… argument 233 b.mousedown(function(){a.rightDragStart()}).mouseup(function(){a.rightDragStop()}).mouseover(functi… argument 257 …round(b/l)+g,b=this.dragging?k+this.timeDifference:Math.round((b+c)/l)+g,k>b&&(k=b),0<h&&b-k<h&&(b… 297 …b=Math.round(b);c=Math.round(c);var t=0,r=0;0>b&&(b=Math.abs(b),t=-b);0>c&&(c=Math.abs(c),r=-c);t+… argument 310 …b,c,e,h,f,g,k,l,m){"object"==typeof g&&(g=g[0]);"object"==typeof k&&(k=k[0]);0===k&&(g="none");f={… argument 317 …b);return h},set:function(a){return this.R.set(a)},remove:function(a){if(a){var b=this.rBin;b.appe… 318 …b.appendChild(document.createTextNode("JavaScript chart by amCharts "+a.version)),c.appendChild(b)… argument [all …]
|
H A D | pie.js | 6 b.dataContext));a=c?k.fixNewLines(a):k.fixBrakes(a);return a=k.cleanFromEmpty(a)},startSlices:funct… 7 …b;for(b=0;b<a.length;b++)if(!a[b].started){this.startSlice(this.chartData[b]);break}},startSlice:f… 10 …b})},clickSlice:function(a,b,c){this.checkTouchDuration()&&(isNaN(a)||(a=this.chartData[a]),a.pull… argument 12 …b*a.pullX+","+b*a.pullY},d,this.pullOutEffect),a.labelSet&&a.labelSet.animate({translate:b*a.pullX… 13 …b[c].pulled&&this.pullSlice(b[c],0)},pullOutAll:function(){var a=this.chartData,b;for(b=0;b<a.leng… 16 …b=0,c,d;for(c=0;c<a.length;c++)d=a[c],!d.hidden&&0<d.value&&(b+=d.value);for(c=0;c<a.length;c++)d=… 17 …b].value,a.splice(b,1))},animateAgain:function(){var a=this;a.startSlices();for(var b=0;b<a.chartD… 25 ….startX=Math.round(p*z);e.startY=Math.round(C*z);e.pullX=Math.round(p*g);e.pullY=Math.round(C*g);t… 26 …b;for(b=0;b<a.length;b++){var c=a[b],d=c.wedge,c=c.startAngle;0<=c&&180>c?d.toFront():180<=c&&d.to… 27 …b;d++)c=a[d],3!=c.labelQuarter||c.hidden||this.checkOverlapping(d,c,3,!1,0)},checkOverlapping:func… argument [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/ |
H A D | ColorModeConverter.php | 87 * @param float $b 91 public function rgb2hsl($r, $g, $b) argument 95 $min = min($r, $g, $b); 96 $max = max($r, $g, $b); 114 $bDiff = ((($max - $b) / 6) + ($diff / 2)) / $diff; 120 } elseif ($b == $max) { 138 * Output is RGB in normal 255 255 255 format, held in $r, $g, $b 151 $b = $l * 255; 159 $r = round(255 * $this->hue2rgb($tmp2, $tmp, $h + (1 / 3))); 160 $g = round(25 [all...] |
/plugin/geophp/vendor/funiq/geophp/src/Adapter/ |
H A D | GeoHash.php | 69 'odd' => '028b' 73 'even' => '028b', 183 for ($b = 4; $b >= 0; --$b) { 184 if ((1 & $b) == (1 & $i)) { 188 $chr |= pow(2, $b); 198 $chr |= pow(2, $b); 293 $result['centerLatitude'] = round(($minLatitude + $maxLatitude) / 2, max(1, -round(log1 [all...] |
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/ |
H A D | BarcodeFactory.php | 167 $b = hexdec(substr($color, 4, 2)); 171 $b = hexdec(substr($color, 2, 1).substr($color, 2, 1)); 174 return [$r, $g, $b]; 191 $bw = round(($v['w'] * $w), 3); 192 $bh = round(($v['h'] * $h / $bcd['maxh']), 3); 194 $y = round(($v['p'] * $h / $bcd['maxh']), 3); 209 $bw = round(($v['h'] * $w / $bcd['maxh']), 3); 210 $bh = round(($v['w'] * $h), 3); 212 $x = round(($v['p'] * $h / $bcd['maxh']), 3); 245 $bw = round(( [all...] |
/plugin/diagramsnet/lib/img/lib/allied_telesis/security/ |
H A D | Surveillance_Camera_Ceiling.svg | 1 …round"><path d="M58.006 34.33c0 12.087-12.85 23.038-27.737 23.038S3.638 46.495 3.638 32.765c0-3.02…
|
H A D | EtherGRID.svg | 1 …b" stroke-width="1.226" stroke-linejoin="round"><path d="M96.738 85.89l51.85-27.52.013 21.396-51.8…
|
/plugin/diagramsnet/lib/js/diagramly/util/ |
H A D | mxJsCanvas.js | 83 hex = hex.replace(shorthandRegex, function(m, r, g, b) { argument 84 return r + r + g + g + b + b; 91 b: parseInt(result[3], 16) 404 this.ctx.shadowColor = 'rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ',' + alpha + ')'; 647 this.ctx.translate(Math.round(x), Math.round(y)); 649 this.ctx.translate(Math.round(-x), Math.round(-y)); 686 …this.ctx.fillRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Math… 692 …this.ctx.strokeRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Ma… 701 this.ctx.drawImage(subCanvas, Math.round(x * sc) ,Math.round(y * sc)); 775 startMostX = Math.round(startMostX) - 0.5; [all …]
|
/plugin/tablecalc/ |
H A D | script.js | 55 var b=[]; 58 b.push(a[i]); 61 return b; 66 return Math.round(a*x)/x; 167 function round(num,digits) { function 172 var n=Math.round(num*d)/d; 207 function compare(a,b,operation) { argument 214 if (typeof b == 'undefined') { 215 b=0; 219 if (a>b) {return 1;} else {return 0;} [all …]
|
/plugin/diagramsnet/lib/mxgraph/ |
H A D | mxClient.js | 343 …round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<… 348 …b,c,d){a=Math.round(a);b=Math.round(b);c=Math.round(c);d=Math.round(d);for(var e="mx-clip-"+a+"-"+… argument 385 …b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1… 791 …round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng… 939 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!… 942 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M… 1125 …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+2*b+p.x+g+e+p.w… 1166 …b,c),e,f,new mxPoint(0,0)),b=c.x,c=c.y);null==d.offset?d.offset=new mxPoint(Math.round(b),Math.rou… 1196 …b,c,d,e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d|… argument 1206 g)*this.view.scale+Math.round(l*a+e))}}; [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | Hash.php | 451 $b = $this->blockSize >> 3; 1076 for ($round = 0; $round < 24; $round++) { 1135 $s[0][0][0] ^= $roundConstants[$round][0]; 1265 for ($round = 0; $round < 24; $round++) { 1305 $s[0][0] ^= $roundConstants[$round]; 1406 $b = clone $hash[1]; 1424 $a->bitwise_and($b), 1426 $b->bitwise_and($c) 1454 $c = clone $b; 1455 $b = clone $a; [all …]
|
/plugin/diagramsnet/lib/img/lib/cumulus/ |
H A D | netq_agent.svg | 1 ….5" cy="4.5" r="1.5" fill="#83389b"/><circle cx="4.5" cy="4.5" r="4" fill="none" stroke="#8c9aa6" …
|
H A D | netq_server.svg | 1 ….5" cy="4.5" r="1.5" fill="#83389b"/><circle cx="8.5" cy="4.5" r="4" fill="none" stroke="#8c9aa6" …
|
/plugin/diagramsnet/lib/js/jscolor/ |
H A D | jscolor.js | 363 tp[b]+ts[b]-l+l*c 370 -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? 371 …(-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c)… 372 (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) 449 b<0 && (b=0) || b>1 && (b=1); 493 (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + 494 (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + 495 (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) 733 var x = Math.round((THIS.hsv[0]/6) * (mxJSColor.images.pad[0]-1)); 734 var y = Math.round((1-THIS.hsv[yComponent]) * (mxJSColor.images.pad[1]-1)); [all …]
|
/plugin/diagramsnet/lib/js/ |
H A D | viewer.min.js | 547 …round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<… 589 …b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1… 995 …round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng… 1143 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!… 1146 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M… 1329 …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+2*b+p.x+g+e+p.w… 1370 …b,c),e,f,new mxPoint(0,0)),b=c.x,c=c.y);null==d.offset?d.offset=new mxPoint(Math.round(b),Math.rou… 1400 …b,c,d,e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d|… argument 1410 g)*this.view.scale+Math.round(l*a+e))}}; 1971 …round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.rou… [all …]
|
H A D | viewer-static.min.js | 547 …round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<… 589 …b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1… 995 …round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng… 1143 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!… 1146 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M… 1329 …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+2*b+p.x+g+e+p.w… 1370 …b,c),e,f,new mxPoint(0,0)),b=c.x,c=c.y);null==d.offset?d.offset=new mxPoint(Math.round(b),Math.rou… 1400 …b,c,d,e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d|… argument 1410 g)*this.view.scale+Math.round(l*a+e))}}; 1971 …round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.rou… [all …]
|
H A D | shapes-14-6-5.min.js | 1589 …b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})]… argument 1761 …b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})]… argument 1801 b,e.x-a.x)))/100;this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-e.y)))})]… 1844 10,a.y+b*a.height)},function(a,b){this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y… argument 1852 ….dy2))));return new mxPoint(a.x+a.width-10,a.y+b*a.height)},function(a,c){this.state.style.dy2=Mat… 1939 …b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=… 1948 …b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=… 1957 …b=0;b<e.length;b++)(function(b){d.push(Graph.createHandle(a,["polyCoords"],function(a){return new … 2327 …b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=… 2431 …b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=… [all …]
|
/plugin/pgn4web/pgn4web/libs/jscolor/ |
H A D | jscolor.js | 396 var l = (ts[b]+ps[b])/2; 402 tp[b]+ts[b]-l+l*c 409 -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ? 410 …(-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c)… 411 (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c) 542 (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + 543 (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + 544 (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) 825 var x = Math.round((THIS.hsv[0]/6) * (jscolor.images.pad[0]-1)); 826 var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.pad[1]-1)); [all …]
|
/plugin/amcharts/assets/amcharts/plugins/dataloader/ |
H A D | dataloader.min.js | 1 …b,d,g,h){void 0===h&&(h="dataProvider"),g.showCurtain&&l(void 0,g.noStyles),c.remaining++,c.percen… argument
|
/plugin/showsamples/ |
H A D | jquery.scrollTo.min.js | 7 …b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=func… argument
|
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.functions.php | 283 public static function GrayscaleValue($r, $g, $b) { argument 284 return round(($r * 0.30) + ($g * 0.59) + ($b * 0.11)); 297 $b = $rgb & 0xFF; 298 return ($r * 0.299) + ($g * 0.587) + ($b * 0.114); 354 $b = ((($c1 & 0x0000FF) + ($c2 & 0x0000FF) + ($c3 & 0x0000FF) + ($c4 & 0x0000FF)) >> 2); 365 $b = ($c1['blue'] + $c2['blue'] + $c3['blue'] + $c4['blue'] ) >> 2; 368 imagesetpixel($dst_img, $dst_x + $x - $src_x, $dst_y + $y - $src_y, $r+$g+$b); 386 return $ImageCreateFunction(round($x_size), round($y_size)); 401 …erlayPixel['red'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['red'] : (round($RealPixel['red'] … 435 (int) round($new_width), [all …]
|
/plugin/statdisplay/pchart/ |
H A D | GDCanvas.php | 77 …imagefilledrectangle($this->picture, round ( $X1 ), round ( $Y1 ), round ( $X2 ), round ( $Y2 ), $… 87 $C_Rectangle = imagecolorallocate( $this->Layers [0], $color->r, $color->g, $color->b); 88 …imagefilledrectangle ( $this->Layers [0], round ( 1 ), round ( 1 ), round ( $LayerWidth - 1 ), rou… 90 …imagecopymerge ($this->picture, $this->Layers [0], round ( min ( $X1, $X2 ) - 1 ), round ( min ( $… 462 $Ba = floor ( $color->b * $alpha + $B2 * $iAlpha ); 480 return (imagecolorallocate ($this->picture, $color->r, $color->g, $color->b )); 486 $color->b,
|