Searched refs:fCyan (Results 1 – 3 of 3) sorted by relevance
/trunk/main/tools/source/generic/ |
H A D | color.cxx | 263 ColorData Color::CMYKtoRGB( double fCyan, double fMagenta, double fYellow, double fKey ) in CMYKtoRGB() argument 265 fCyan = (fCyan * ( 1.0 - fKey )) + fKey; in CMYKtoRGB() 269 …sal_uInt8 nRed = static_cast< sal_uInt8 >( std::max( std::min( ( 1.0 - fCyan ) * 255.0, 255.0), 0.… in CMYKtoRGB() 280 void Color::RGBtoCMYK( double& fCyan, double& fMagenta, double& fYellow, double& fKey ) in RGBtoCMYK() argument 282 fCyan = 1 - ( GetRed() / 255.0 ); in RGBtoCMYK() 288 if( fCyan < fKey ) fKey = fCyan; in RGBtoCMYK() 295 fCyan = 0.0; in RGBtoCMYK() 301 fCyan = ( fCyan - fKey ) / ( 1.0 - fKey ); in RGBtoCMYK()
|
/trunk/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 158 static void CMYKtoRGB( double fCyan, double fMagenta, double fYellow, double fKey, double& dR, doub… in CMYKtoRGB() argument 160 fCyan = (fCyan * ( 1.0 - fKey )) + fKey; in CMYKtoRGB() 164 dR = std::max( std::min( ( 1.0 - fCyan ), 1.0), 0.0 ); in CMYKtoRGB() 172 static void RGBtoCMYK( double dR, double dG, double dB, double& fCyan, double& fMagenta, double& fY… in RGBtoCMYK() argument 174 fCyan = 1 - dR; in RGBtoCMYK() 180 if( fCyan < fKey ) fKey = fCyan; in RGBtoCMYK() 187 fCyan = 0.0; in RGBtoCMYK() 193 fCyan = ( fCyan - fKey ) / ( 1.0 - fKey ); in RGBtoCMYK()
|
/trunk/main/tools/inc/tools/ |
H A D | color.hxx | 178 static ColorData CMYKtoRGB( double fCyan, double fMagenta, double fYellow, double fKey ); 179 void RGBtoCMYK( double& fCyan, double& fMagenta, double& fYellow, double& fKey );
|
Completed in 18 milliseconds