Lines Matching refs:b
350 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)
446 this.fromRGB = function(r, g, b, flags) { // null = don't change argument
449 b<0 && (b=0) || b>1 && (b=1);
453 b===null ? this.rgb[2] : (this.rgb[2]=b)
500 function RGB_HSV(r, g, b) { argument
501 var n = Math.min(Math.min(r,g),b);
502 var v = Math.max(Math.max(r,g),b);
505 var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);