Home
last modified time | relevance | path

Searched +refs:round +refs:b (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/plugin/amcharts/assets/amcharts/
H A Dserial.js5b,c=this.autoMarginOffset,d=this.fixMargins,g=this.realWidth,h=this.realHeight,f=c,e=c,l=g;b=h;var…
6round(l-g+c));d.top&&e<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-e+c+this.titl… argument
12b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize…
13round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi…
31b!=this.endTime&&b-a>c&&(a=b-c),a!=this.startTime&&b-a>c&&(b=a+c));var d=this.minSelectedTime;if(0…
61b,type:"zoomed",start:a,end:h},this.skipZoomed=!0,b.fire(n),this.zoom(a,h),n=!0}else if(f=this.sta…
66round(g/2-J)+","+Math.round(d+I)+","+Math.round(g/2+J)+","+d+",0,"+d+","+g,l=l+(" L0,"+g)+(m+Math.
67round(H)+","+Math.round(d/2-E)+","+Math.round(-H)+","+d+",0,0,0"):(l+="A"+I+","+J+",0,0,0,"+(d-d/2…
68b]:[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
74b/r==Math.round(b/r)||p)b/v==Math.round(b/v)||p||(this.gridAlpha=this.minorGridAlpha,n=void 0);els…
[all …]
H A Dfunnel.js6 b.dataContext));a=c?e.fixNewLines(a):e.fixBrakes(a);return a=e.cleanFromEmpty(a)},startSlices:funct…
7b;for(b=0;b<a.length;b++)if(!a[b].started){this.startSlice(this.chartData[b]);break}},startSlice:f…
13b[c].pulled&&this.pullSlice(b[c],0)},pullOutAll:function(){var a=this.chartData,b;for(b=0;b<a.leng…
17b].value,a.splice(b,1))},animateAgain:function(){var a=this;a.startSlices();for(var b=0;b<a.chartD…
19b=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180)),c=Math.round(-this.depth3D*Math.sin(th…
21round(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=!…
26b+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
29b,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…
30round(f/2-L)+","+Math.round(d+J)+","+Math.round(f/2+L)+","+d+",0,"+d+","+f,l=l+(" L0,"+f)+(t+Math.
31round(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 Dxy.js4b++)c=d[b],c.ignoreAxisWidth||(c.setOrientation(!1),c.fixAxisPosition(),a[c.position]=!0)}else{d=t…
5b,c=this.autoMarginOffset,d=this.fixMargins,g=this.realWidth,e=this.realHeight,f=c,k=c,m=g;b=e;var…
6round(m-g+c));d.top&&k<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-k+c+this.titl… argument
12b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize…
13round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi…
14b;for(b=0;b<a.length;b++){var c=a[b];this.setAxisRenderers(c);this.updateObjectSize(c)}},setAxisRe…
16b;for(b=0;b<a.length;b++){var c=a[b];c.valueAxis.recalculateToPercents?c.set&&c.set.hide():(c.x=th… argument
18b?(a.y=c+f,a.x=d+this.plotAreaWidth+h+k):(a.y=c+this.plotAreaHeight+k,a.x=this.marginLeftReal)}},s…
19b=this.chartCursor;b&&b.handleMouseDown&&!this.rolledOverZB&&b.handleMouseDown(a)},update:function…
20b;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 Damcharts.js18b-Number(a.substr(1))),-1!=a.indexOf("%")&&(e=b*Number(a.substr(0,a.length-1))/100));return e};d.f… argument
70b){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
114round(e);c=Math.round(c);a=Math.round(d.toCoordinate(this.width,c));f=Math.round(d.toCoordinate(th…
221b.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
257round(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
297b=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
310b,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
317b);return h},set:function(a){return this.R.set(a)},remove:function(a){if(a){var b=this.rBin;b.appe…
318b.appendChild(document.createTextNode("JavaScript chart by amCharts "+a.version)),c.appendChild(b)… argument
[all …]
H A Dpie.js6 b.dataContext));a=c?k.fixNewLines(a):k.fixBrakes(a);return a=k.cleanFromEmpty(a)},startSlices:funct…
7b;for(b=0;b<a.length;b++)if(!a[b].started){this.startSlice(this.chartData[b]);break}},startSlice:f…
10b})},clickSlice:function(a,b,c){this.checkTouchDuration()&&(isNaN(a)||(a=this.chartData[a]),a.pull… argument
12b*a.pullX+","+b*a.pullY},d,this.pullOutEffect),a.labelSet&&a.labelSet.animate({translate:b*a.pullX…
13b[c].pulled&&this.pullSlice(b[c],0)},pullOutAll:function(){var a=this.chartData,b;for(b=0;b<a.leng…
16b=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=…
17b].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…
26b;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…
27b;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 DColorModeConverter.php87 * @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 DGeoHash.php69 '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 DBarcodeFactory.php167 $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 DSurveillance_Camera_Ceiling.svg1round"><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 DEtherGRID.svg1b" 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 DmxJsCanvas.js83 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 Dscript.js55 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 DmxClient.js343round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<
348b,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
385b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1…
791round(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…
1125round(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…
1166b,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…
1196b,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 DHash.php451 $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 Dnetq_agent.svg1 ….5" cy="4.5" r="1.5" fill="#83389b"/><circle cx="4.5" cy="4.5" r="4" fill="none" stroke="#8c9aa6" …
H A Dnetq_server.svg1 ….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 Djscolor.js363 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 Dviewer.min.js547round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<
589b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1…
995round(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…
1329round(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…
1370b,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…
1400b,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))}};
1971round(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 Dviewer-static.min.js547round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<
589b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1…
995round(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…
1329round(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…
1370b,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…
1400b,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))}};
1971round(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 Dshapes-14-6-5.min.js1589b.x)))/100;this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})]… argument
1761b.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…
1939b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=…
1948b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=…
1957b=0;b<e.length;b++)(function(b){d.push(Graph.createHandle(a,["polyCoords"],function(a){return new …
2327b&&(b=1+b);this.state.style.startAngle=b})],e=Graph.createHandle(a,["endAngle"],function(a){var b=…
2431b&&(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 Djscolor.js396 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 Ddataloader.min.js1b,d,g,h){void 0===h&&(h="dataProvider"),g.showCurtain&&l(void 0,g.noStyles),c.remaining++,c.percen… argument
/plugin/showsamples/
H A Djquery.scrollTo.min.js7b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=func… argument
/plugin/photogallery/phpThumb/
H A Dphpthumb.functions.php283 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 DGDCanvas.php77 …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,

12345678910>>...14