Home
last modified time | relevance | path

Searched refs:fOff (Results 1 – 3 of 3) sorted by relevance

/trunk/main/tools/source/generic/
H A Dcolor.cxx110 const double fOff = 128.0 - fM * 128.0; in IncreaseContrast() local
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()
125 const double fOff = 128.0 - fM * 128.0; in DecreaseContrast() local
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 Dgdimtf.cxx2317 double fM, fROff, fGOff, fBOff, fOff; in Adjust() local
2332 fOff = MinMax( nLuminancePercent, -100L, 100L ) * 2.55 + 128.0 - fM * 128.0; in Adjust()
2335 fROff = nChannelRPercent * 2.55 + fOff; in Adjust()
2336 fGOff = nChannelGPercent * 2.55 + fOff; in Adjust()
2337 fBOff = nChannelBPercent * 2.55 + fOff; in Adjust()
H A Dbitmap3.cxx3384 double fM, fROff, fGOff, fBOff, fOff; in Adjust() local
3393 fOff = MinMax( nLuminancePercent, -100L, 100L ) * 2.55 + 128.0 - fM * 128.0; in Adjust()
3396 fROff = nChannelRPercent * 2.55 + fOff; in Adjust()
3397 fGOff = nChannelGPercent * 2.55 + fOff; in Adjust()
3398 fBOff = nChannelBPercent * 2.55 + fOff; in Adjust()

Completed in 127 milliseconds