Searched refs:nBackgroundLuminance (Results 1 – 2 of 2) sorted by relevance
362 const sal_Int32 nBackgroundLuminance (aBackgroundColor.GetLuminance()); in PaintPageNumber() local365 if (nBackgroundLuminance == 0) in PaintPageNumber()373 if (abs(nBackgroundLuminance - nFontLuminance) < 60) in PaintPageNumber()375 if (nBackgroundLuminance > nFontLuminance-30) in PaintPageNumber()
132 sal_Int32 nBackgroundLuminance = Color( nBackgroundColor ).GetLuminance(); in setButtonLikeFaceColor() local136 …aLightShadow.IncreaseLuminance( (sal_uInt8)( ( nWhiteLuminance - nBackgroundLuminance ) * 2 / 3 ) … in setButtonLikeFaceColor()140 … aLight.IncreaseLuminance( (sal_uInt8)( ( nWhiteLuminance - nBackgroundLuminance ) * 1 / 3 ) ); in setButtonLikeFaceColor()144 aShadow.DecreaseLuminance( (sal_uInt8)( nBackgroundLuminance * 1 / 3 ) ); in setButtonLikeFaceColor()148 aDarkShadow.DecreaseLuminance( (sal_uInt8)( nBackgroundLuminance * 2 / 3 ) ); in setButtonLikeFaceColor()
Completed in 50 milliseconds