Home
last modified time | relevance | path

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

/trunk/main/cui/source/dialogs/
H A Dcolorpicker.cxx98 dH = 0.0; in RGBtoHSV()
104 dH = ( dG - dB ) / cDelta; in RGBtoHSV()
108 dH = 2.0 + ( dB - dR ) / cDelta; in RGBtoHSV()
112 dH = 4.0 + ( dR - dG ) / cDelta; in RGBtoHSV()
114 dH *= 60.0; in RGBtoHSV()
116 if( dH < 0.0 ) in RGBtoHSV()
117 dH += 360.0; in RGBtoHSV()
132 dH = 0.0; in HSVtoRGB()
134 dH /= 60.0; in HSVtoRGB()
136 sal_uInt16 n = (sal_uInt16) dH; in HSVtoRGB()
[all …]
/trunk/main/tools/source/generic/
H A Dcolor.cxx232 double dH = nHue; in HSBtoRGB() local
235 if( dH == 360.0 ) in HSBtoRGB()
236 dH = 0.0; in HSBtoRGB()
238 dH /= 60.0; in HSBtoRGB()
239 n = (sal_uInt16) dH; in HSBtoRGB()
240 f = dH - n; in HSBtoRGB()

Completed in 27 milliseconds