Searched refs:fM (Results 1 – 5 of 5) sorted by relevance
/trunk/main/tools/source/generic/ |
H A D | color.cxx | 109 const double fM = 128.0 / ( 128.0 - 0.4985 * cContInc ); in IncreaseContrast() local 110 const double fOff = 128.0 - fM * 128.0; in IncreaseContrast() 112 SetRed( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_RED( mnColor ) * fM + fOff ), 0L, 255L ) ); in IncreaseContrast() 113 SetGreen( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_GREEN( mnColor ) * fM + fOff ), 0L, 255L ) ); in IncreaseContrast() 114 SetBlue( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_BLUE( mnColor ) * fM + fOff ), 0L, 255L ) ); in IncreaseContrast() 124 const double fM = ( 128.0 - 0.4985 * cContDec ) / 128.0; in DecreaseContrast() local 125 const double fOff = 128.0 - fM * 128.0; in DecreaseContrast() 127 SetRed( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_RED( mnColor ) * fM + fOff ), 0L, 255L ) ); in DecreaseContrast() 128 SetGreen( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_GREEN( mnColor ) * fM + fOff ), 0L, 255L ) ); in DecreaseContrast() 129 SetBlue( (sal_uInt8) VOS_BOUND( _FRound( COLORDATA_BLUE( mnColor ) * fM + fOff ), 0L, 255L ) ); in DecreaseContrast()
|
/trunk/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 2317 double fM, fROff, fGOff, fBOff, fOff; in Adjust() local 2327 fM = 128.0 / ( 128.0 - 1.27 * MinMax( nContrastPercent, 0L, 100L ) ); in Adjust() 2329 fM = ( 128.0 + 1.27 * MinMax( nContrastPercent, -100L, 0L ) ) / 128.0; in Adjust() 2332 fOff = MinMax( nLuminancePercent, -100L, 100L ) * 2.55 + 128.0 - fM * 128.0; in Adjust() 2346 aColParam.pMapR[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fROff ), 0L, 255L ); in Adjust() 2347 aColParam.pMapG[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fGOff ), 0L, 255L ); in Adjust() 2348 aColParam.pMapB[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fBOff ), 0L, 255L ); in Adjust()
|
H A D | bitmap3.cxx | 3384 double fM, fROff, fGOff, fBOff, fOff; in Adjust() local 3388 fM = 128.0 / ( 128.0 - 1.27 * MinMax( nContrastPercent, 0L, 100L ) ); in Adjust() 3390 fM = ( 128.0 + 1.27 * MinMax( nContrastPercent, -100L, 0L ) ) / 128.0; in Adjust() 3393 fOff = MinMax( nLuminancePercent, -100L, 100L ) * 2.55 + 128.0 - fM * 128.0; in Adjust() 3407 cMapR[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fROff ), 0L, 255L ); in Adjust() 3408 cMapG[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fGOff ), 0L, 255L ); in Adjust() 3409 cMapB[ nX ] = (sal_uInt8) MinMax( FRound( nX * fM + fBOff ), 0L, 255L ); in Adjust()
|
/trunk/main/scaddins/source/analysis/ |
H A D | analysis.cxx | 747 double SAL_CALL AnalysisAddIn::getSeriessum( double fX, double fN, double fM, const SEQSEQ( double … in getSeriessum() argument 772 fN += fM; in getSeriessum()
|
H A D | analysis.hxx | 132 …virtual double SAL_CALL getSeriessum( double fX, double fN, double fM, const SEQSEQ( double )& aC…
|
Completed in 71 milliseconds