Lines Matching refs:b
389 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)
414 drawPicker(pp[a], pp[b]);
487 this.fromRGB = function(r, g, b, flags) { // null = don't change argument
490 if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); }
495 b===null ? this.rgb[2] : b
549 function RGB_HSV(r, g, b) { argument
550 var n = Math.min(Math.min(r,g),b);
551 var v = Math.max(Math.max(r,g),b);
554 var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);