Home
last modified time | relevance | path

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

12345678910>>...16

/plugin/amcharts/assets/amcharts/
Dserial.js3b;if("xy"==this.type){var c=this.xAxes,d=this.yAxes;for(b=0;b<c.length;b++){var g=c[b];g.ignoreAxi…
4b++)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,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
7 e.x-f,b>a&&(b=a)}}return{l:b,t:d,r:c,b:g}},drawZoomOutButton:function(){var a=this;if(!a.zbSet){var…
8b.push(n),n=n.getBBox(),m=n.width+5);void 0!==f&&(c=e.text(a.container,f,c,a.fontFamily,d,"start")…
9b.push(k);k.toBack();a.zbBG=k;n=k.getBBox();b.translate(a.marginLeftReal+a.plotAreaWidth-n.width+p…
10 …t:function(){this.zoomOutValueAxes()},drawPlotArea:function(){var a=this.dx,b=this.dy,c=this.margi…
11b);this.set.push(f);0!==a&&0!==b&&(f=this.plotAreaFillColors,"object"==typeof f&&(f=f[0]),f=e.adju…
12b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize…
[all …]
Dfunnel.js3 …handleLegendEvent:function(a){var b=a.type,c=a.dataItem,d=this.legend;if(!d.data&&c){var f=c.hidde…
4 …n(a,b){var c=this;a.mouseover(function(a){c.rollOverSlice(b,!0,a)}).mouseout(function(a){c.rollOut… argument
5b,a)}).contextmenu(function(a){c.handleRightClick(b,a)})},formatString:function(a,b,c){a=e.formatV… argument
6 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…
8b;for(b=0;b<a.length;b++){var c=a[b];if(0<c.alpha){var d=c.label;d&&d.show();(c=c.tick)&&c.show()}… argument
9 …k,b,d,f):this.hideBalloon();0===a.value&&this.hideBalloon();this.fire({type:"rollOverSlice",dataIt… argument
10b})},clickSlice:function(a,b,c){this.checkTouchDuration()&&(isNaN(a)||(a=this.chartData[a]),a.pull… argument
11b=a.startDuration,c=setTimeout(function(){a.showLabels.call(a)},1E3*b);a.timeOuts.push(c);a.chartC… argument
12b*a.pullX+","+b*a.pullY},d,this.pullOutEffect),a.labelSet&&a.labelSet.animate({translate:b*a.pullX…
[all …]
Dxy.js3b;if("xy"==this.type){var c=this.xAxes,d=this.yAxes;for(b=0;b<c.length;b++){var g=c[b];g.ignoreAxi…
4b++)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
7 h.x-f,b>a&&(b=a)}}return{l:b,t:d,r:c,b:e}},drawZoomOutButton:function(){var a=this;if(!a.zbSet){var…
8b.push(q),q=q.getBBox(),l=q.width+5);void 0!==f&&(c=e.text(a.container,f,c,a.fontFamily,d,"start")…
9b.push(k);k.toBack();a.zbBG=k;q=k.getBBox();b.translate(a.marginLeftReal+a.plotAreaWidth-q.width+p…
10 …t:function(){this.zoomOutValueAxes()},drawPlotArea:function(){var a=this.dx,b=this.dy,c=this.margi…
11b);this.set.push(f);0!==a&&0!==b&&(f=this.plotAreaFillColors,"object"==typeof f&&(f=f[0]),f=e.adju…
12b=this.updateHeight(),c=this.container;this.realWidth=a;this.realWidth=b;c&&this.container.setSize…
[all …]
Damcharts.js1b=function(){arguments[0]!==d.inheriting&&(this.events={},this.construct.apply(this,arguments))};a… function in d.Class
2b.prototype.listenTo=function(a,b,c){this.removeListener(a,b,c);a.events[b].push({handler:c,scope:… argument
3b.length;c++){var d=b[c];d.handler.call(d.scope,a)}});for(var c in a)b.prototype[c]=a[c];return b}…
4b,c;"Microsoft Internet Explorer"==navigator.appName&&(b=navigator.userAgent,c=/MSIE ([0-9]{1,}[.0… argument
5b.dayNames=d.extend({},c.dayNames),b.shortDayNames=d.extend({},c.shortDayNames),b.monthNames=d.ext…
6b=d.charts,c=0;c<b.length;c++){var e=b[c];e&&e.handleReleaseOutside&&e.handleReleaseOutside(a)}};d…
7b=0;b<a.length;b++){var c=a[b];c&&(c.mouseIsOver=!1)}};d.ready=function(a){d.onReadyArray.push(a)}… argument
9 …,d.handleWheel));d.clear=function(){var a=d.charts;if(a)for(var b=a.length-1;0<=b;b--)a[b].clear()…
10 …onload",d.handleLoad))};d.makeChart=function(a,b,c){var e=b.type,h=b.theme;d.isString(h)&&(h=d.the… argument
11b);d.isReady?isNaN(c)?f.write(a):setTimeout(function(){d.realWrite(f,a)},c):d.ready(function(){isN… argument
[all …]
Dpie.js3 …handleLegendEvent:function(a){var b=a.type,c=a.dataItem,d=this.legend;if(!d.data&&c){var g=c.hidde…
4 …n(a,b){var c=this;a.mouseover(function(a){c.rollOverSlice(b,!0,a)}).mouseout(function(a){c.rollOut… argument
5b,a)}).contextmenu(function(a){c.handleRightClick(b,a)})},formatString:function(a,b,c){a=k.formatV… argument
6 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…
8b;for(b=0;b<a.length;b++){var c=a[b];if(0<c.alpha){var d=c.label;d&&d.show();(c=c.tick)&&c.show()}… argument
9 …h,b,d,g):this.hideBalloon();0===a.value&&this.hideBalloon();this.fire({type:"rollOverSlice",dataIt… argument
10b})},clickSlice:function(a,b,c){this.checkTouchDuration()&&(isNaN(a)||(a=this.chartData[a]),a.pull… argument
11b=a.startDuration,c=setTimeout(function(){a.showLabels.call(a)},1E3*b);a.timeOuts.push(c);a.chartC… argument
12b*a.pullX+","+b*a.pullY},d,this.pullOutEffect),a.labelSet&&a.labelSet.animate({translate:b*a.pullX…
[all …]
/plugin/asciidocjs/node_modules/color-convert/
Dconversions.js58 const b = rgb[2] / 255;
59 const min = Math.min(r, g, b);
60 const max = Math.max(r, g, b);
68 h = (g - b) / delta;
70 h = 2 + (b - r) / delta;
71 } else if (b === max) {
103 const b = rgb[2] / 255;
104 const v = Math.max(r, g, b);
105 const diff = v - Math.min(r, g, b);
117 bdif = diffc(b);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/
DColorConverter.php59 round($c[1]) & 0xFF,
60 round($c[2]) & 0xFF,
61 round($c[3]) & 0xFF,
62 round($c[4]) & 0xFF,
63 round($c[5]) & 0xFF
80 list($r, $g, $b) = $this->colorModeConverter->hsl2rgb($h, $s, $l);
81 $ret = [3, $r, $g, $b];
92 round($c[1]) & 0xFF,
93 round($c[2]) & 0xFF,
94 round($c[3]) & 0xFF,
[all …]
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) {
151 $b = $l * 255;
159 $r = round(255 * $this->hue2rgb($tmp2, $tmp, $h + (1 / 3)));
160 $g = round(255 * $this->hue2rgb($tmp2, $tmp, $h));
161 $b = round(255 * $this->hue2rgb($tmp2, $tmp, $h - (1 / 3)));
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DGeoHash.php183 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(log10($latitude…
294 …$result['centerLongitude'] = round(($minLongitude + $maxLongitude) / 2, max(1, -round(log10($longi…
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
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(($v['w'] * $w), 3);
[all …]
/plugin/diagramsnet/lib/img/lib/allied_telesis/security/
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…
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/
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)
215 …gradient.addColorStop(0, 'rgba(' + rgb1.r + ',' + rgb1.g + ',' + rgb1.b + ',' + s.fillAlpha + ')');
220 …gradient.addColorStop(1, 'rgba(' + rgb2.r + ',' + rgb2.g + ',' + rgb2.b + ',' + s.gradientAlpha + …
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…
[all …]
/plugin/diagramsnet/lib/mxgraph/
DmxClient.js5 …es:[],isBrowserSupported:function(){return mxClient.IS_SVG},link:function(a,b,c,d){c=c||document;v… argument
6b);e.setAttribute("charset","UTF-8");e.setAttribute("type","text/css");d&&e.setAttribute("id",d);c… argument
10 …consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width…
11 …";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
13 ….body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Ma…
14b){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEven… argument
15b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible(… argument
16 ….apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b
17b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mx…
18 …map[a]};mxDictionary.prototype.put=function(a,b){var c=mxObjectIdentity.get(a),d=this.map[c];this.… argument
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
DHash.php451 $b = $this->blockSize >> 3;
452 $this->ipad = str_repeat(chr(0x36), $b);
453 $this->opad = str_repeat(chr(0x5C), $b);
556 $b = strlen($m) <= 1024 ? "\0\0\0\0\0\0\0\0$a" : self::L2Hash($L2Key_i, $a);
557 $c = self::L3Hash($L3Key1_i, $L3Key2_i, $b);
862 $key = str_pad($this->computedKey, $b, chr(0));
1076 for ($round = 0; $round < 24; $round++) {
1135 $s[0][0][0] ^= $roundConstants[$round][0];
1136 $s[0][0][1] ^= $roundConstants[$round][1];
1265 for ($round = 0; $round < 24; $round++) {
[all …]
/plugin/diagramsnet/lib/js/jscolor/
Djscolor.js350 var a, b, c;
352 case 'left': a=1; b=0; c=-1; break;
353 case 'right':a=1; b=0; c=1; break;
354 case 'top': a=0; b=1; c=-1; break;
355 default: a=0; b=1; c=1; break;
357 var l = (ts[b]+ps[b])/2;
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)
[all …]
/plugin/asciidocjs/node_modules/nunjucks/src/
Dfilters.js88 var b = t2[si];
93 if (lib.isString(b)) {
94 b = b.toUpperCase();
97 return a > b ? 1 : a === b ? 0 : -1; // eslint-disable-line no-nested-ternary
331 function round(val, precision, method) { function
340 rounder = Math.round;
344 _exports.round = round;
374 return start + arr.reduce(function (a, b) { argument
375 return a + b;
386 array.sort(function (a, b) { argument
[all …]
/plugin/tablecalc/src/tablecalc/
Dscript.js55 var b=[];
58 b.push(a[i]);
61 return b;
66 return Math.round(a*x)/x;
197 function round(num,digits) { function
202 var n=Math.round(num*d)/d;
313 function compare(a,b,operation) { argument
320 if (typeof b == 'undefined') {
321 b=0;
325 if (a>b) {return 1;} else {return 0;}
[all …]
/plugin/diagramsnet/lib/img/lib/cumulus/
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" …
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/
Dviewer.min.js4b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.S… function
39 b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\… argument
40 …)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var
41b.da(h.n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else … argument
45 b=d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toStri… argument
47 …{return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);return g&&(!g[1]||a…
48 b=/^(?:([^:/?# ]+):)?/,a=/^(?:https?|mailto|data)$/i;aa=function(){var a={};return function y(f,b,k… argument
49 …===I&&P)j=i&1?"0"+j:"";else if('url("'===j.substring(0,5))j=k&&i&16?g(x(M(e,b[r].substring(5,j.len…
50b;G=r;j=1;K=G+1;for(I=D.length;K<I&&j;)A=D[K++],j+=")"===A?-1:/^[^"']*\($/.test(A);if(!j){j=D[G].t…
51 b[F].length-1)+" "+j+'"',""):(F=o,'"'+j+'"'):""}j&&(b[o++]=j)}1===o&&'url("about:blank")'===b[0]&&(…
[all …]
Dviewer-static.min.js4b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.S… argument
39 b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\… argument
40 …)/g,"$1").replace(/\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var
41b.da(h.n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else … argument
45 b=d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toStri… argument
47 …{return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);return g&&(!g[1]||a…
48 b=/^(?:([^:/?# ]+):)?/,a=/^(?:https?|mailto|data)$/i;aa=function(){var a={};return function y(f,b,k… argument
49 …===I&&P)j=i&1?"0"+j:"";else if('url("'===j.substring(0,5))j=k&&i&16?g(x(M(e,b[r].substring(5,j.len…
50b;G=r;j=1;K=G+1;for(I=D.length;K<I&&j;)A=D[K++],j+=")"===A?-1:/^[^"']*\($/.test(A);if(!j){j=D[G].t…
51 b[F].length-1)+" "+j+'"',""):(F=o,'"'+j+'"'):""}j&&(b[o++]=j)}1===o&&'url("about:blank")'===b[0]&&(…
[all …]
/plugin/pgn4web/pgn4web/libs/jscolor/
Djscolor.js389 var a, b, c;
391 case 'left': a=1; b=0; c=-1; break;
392 case 'right':a=1; b=0; c=1; break;
393 case 'top': a=0; b=1; c=-1; break;
394 default: a=0; b=1; c=1; break;
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)
[all …]
/plugin/amcharts/assets/amcharts/plugins/dataloader/
Ddataloader.min.js1b,d,g,h){void 0===h&&(h="dataProvider"),g.showCurtain&&l(void 0,g.noStyles),c.remaining++,c.percen… argument
/plugin/photogallery/phpThumb/
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'] …
402 …yPixel['green'] : ($OverlayPixel['alpha'] == 127 ? $RealPixel['green'] : (round($RealPixel['green'…
[all …]

12345678910>>...16