Home
last modified time | relevance | path

Searched refs:dHue (Results 1 – 1 of 1) sorted by relevance

/trunk/main/tools/source/generic/
H A Dcolor.cxx196 double dHue = 0.0; in RGBtoHSB() local
200 dHue = (double)( c[1] - c[2] ) / (double)cDelta; in RGBtoHSB()
204 dHue = 2.0 + (double)( c[2] - c[0] ) / (double)cDelta; in RGBtoHSB()
208 dHue = 4.0 + (double)( c[0] - c[1] ) / (double)cDelta; in RGBtoHSB()
210 dHue *= 60.0; in RGBtoHSB()
212 if( dHue < 0.0 ) in RGBtoHSB()
213 dHue += 360.0; in RGBtoHSB()
215 nHue = (sal_uInt16) dHue; in RGBtoHSB()

Completed in 9 milliseconds