Home
last modified time | relevance | path

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

/trunk/main/tools/source/generic/
H A Dcolor.cxx43 static inline long _FRound( double fVal ) in _FRound() function
82 return (sal_uInt8) _FRound( nErrAbs * 0.3333333333 ); in GetColorError()
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()
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()

Completed in 12 milliseconds