Searched refs:dH (Results 1 – 2 of 2) sorted by relevance
| /AOO42X/main/cui/source/dialogs/ |
| H A D | colorpicker.cxx | 85 static void RGBtoHSV( double dR, double dG, double dB, double& dH, double& dS, double& dV ) in RGBtoHSV() argument 98 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() 121 static void HSVtoRGB(double dH, double dS, double dV, double& dR, double& dG, double& dB ) in HSVtoRGB() argument 131 if( basegfx::fTools::equal( dH, 360.0 ) ) in HSVtoRGB() [all …]
|
| /AOO42X/main/tools/source/generic/ |
| H A D | color.cxx | 232 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()
|