Home
last modified time | relevance | path

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

/trunk/main/tools/source/generic/
H A Dcolor.cxx89 SetRed( (sal_uInt8) VOS_BOUND( (long) COLORDATA_RED( mnColor ) + cLumInc, 0L, 255L ) ); in IncreaseLuminance()
90 SetGreen( (sal_uInt8) VOS_BOUND( (long) COLORDATA_GREEN( mnColor ) + cLumInc, 0L, 255L ) ); in IncreaseLuminance()
91 SetBlue( (sal_uInt8) VOS_BOUND( (long) COLORDATA_BLUE( mnColor ) + cLumInc, 0L, 255L ) ); in IncreaseLuminance()
98 SetRed( (sal_uInt8) VOS_BOUND( (long) COLORDATA_RED( mnColor ) - cLumDec, 0L, 255L ) ); in DecreaseLuminance()
99 SetGreen( (sal_uInt8) VOS_BOUND( (long) COLORDATA_GREEN( mnColor ) - cLumDec, 0L, 255L ) ); in DecreaseLuminance()
100 SetBlue( (sal_uInt8) VOS_BOUND( (long) COLORDATA_BLUE( mnColor ) - cLumDec, 0L, 255L ) ); in DecreaseLuminance()
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()
[all …]
/trunk/main/vos/inc/vos/
H A Dmacros.hxx60 #ifndef VOS_BOUND
61 # define VOS_BOUND(x,l,h) ((x) <= (l) ? (l) : ((x) >= (h) ? (h) : (x))) macro
/trunk/main/vcl/source/gdi/
H A Dbitmap4.cxx473 aGrey.SetIndex( ~(sal_uInt8) VOS_BOUND( nSum1, 0, 255 ) ); in ImplSobelGrey()
548 const sal_uInt8 cLz = (sal_uInt8) VOS_BOUND( nLz, 0, 255 ); in ImplEmbossGrey()
585 aGrey.SetIndex( (sal_uInt8) VOS_BOUND( fGrey, 0, 255 ) ); in ImplEmbossGrey()
686 const long nSepia = 10000 - 100 * VOS_BOUND( nSepiaPercent, 0, 100 ); in ImplSepia()
/trunk/main/extensions/workben/
H A Dtestpgp.cxx282 k = VOS_BOUND(k, 0, nBytesToRead); in readBytes()

Completed in 30 milliseconds