Searched refs:fMagenta (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 266 fMagenta = (fMagenta * ( 1.0 - fKey )) + fKey; in CMYKtoRGB() 270 …sal_uInt8 nGreen = static_cast< sal_uInt8 >( std::max( std::min( ( 1.0 - fMagenta ) * 255.0, 255.0… in CMYKtoRGB() 280 void Color::RGBtoCMYK( double& fCyan, double& fMagenta, double& fYellow, double& fKey ) in RGBtoCMYK() argument 283 fMagenta = 1 - ( GetGreen() / 255.0 ); in RGBtoCMYK() 289 if( fMagenta < fKey ) fKey = fMagenta; in RGBtoCMYK() 296 fMagenta = 0.0; in RGBtoCMYK() 302 fMagenta = ( fMagenta - 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 161 fMagenta = (fMagenta * ( 1.0 - fKey )) + fKey; in CMYKtoRGB() 165 dG = std::max( std::min( ( 1.0 - fMagenta ), 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 175 fMagenta = 1 - dG; in RGBtoCMYK() 181 if( fMagenta < fKey ) fKey = fMagenta; in RGBtoCMYK() 188 fMagenta = 0.0; in RGBtoCMYK() 194 fMagenta = ( fMagenta - 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 19 milliseconds