Lines Matching refs:nB
222 sal_uInt8 nB = (sal_uInt8) ( nBri * 255 / 100 ); in HSBtoRGB() local
226 cR = nB; in HSBtoRGB()
227 cG = nB; in HSBtoRGB()
228 cB = nB; in HSBtoRGB()
242 sal_uInt8 a = (sal_uInt8) ( nB * ( 100 - nSat ) / 100 ); in HSBtoRGB()
243 sal_uInt8 b = (sal_uInt8) ( nB * ( 100 - ( (double)nSat * f ) ) / 100 ); in HSBtoRGB()
244 sal_uInt8 c = (sal_uInt8) ( nB * ( 100 - ( (double)nSat * ( 1.0 - f ) ) ) / 100 ); in HSBtoRGB()
248 case 0: cR = nB; cG = c; cB = a; break; in HSBtoRGB()
249 case 1: cR = b; cG = nB; cB = a; break; in HSBtoRGB()
250 case 2: cR = a; cG = nB; cB = c; break; in HSBtoRGB()
251 case 3: cR = a; cG = b; cB = nB; break; in HSBtoRGB()
252 case 4: cR = c; cG = a; cB = nB; break; in HSBtoRGB()
253 case 5: cR = nB; cG = a; cB = b; break; in HSBtoRGB()