Searched refs:nIntensity (Results 1 – 4 of 4) sorted by relevance
759 sal_Int32 nIntensity = (sal_Int32)fSpecular * 100; in Create3DObject() local760 if ( nIntensity > 100 ) in Create3DObject()761 nIntensity = 100; in Create3DObject()762 else if ( nIntensity < 0 ) in Create3DObject()763 nIntensity = 0; in Create3DObject()764 nIntensity = 100 - nIntensity; in Create3DObject()766 …ene->GetProperties().SetObjectItem( Svx3DMaterialSpecularIntensityItem( (sal_uInt16)nIntensity ) ); in Create3DObject()
178 sal_uInt32 DrawingML::ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity ) in ColorWithIntensity() argument180 return ( ( ( nColor & 0xff ) * nIntensity ) / 100 ) in ColorWithIntensity()181 | ( ( ( ( ( nColor & 0xff00 ) >> 8 ) * nIntensity ) / 100 ) << 8 ) in ColorWithIntensity()182 | ( ( ( ( ( nColor & 0xff0000 ) >> 8 ) * nIntensity ) / 100 ) << 8 ); in ColorWithIntensity()
128 sal_uInt32 ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity );
363 sal_uInt32 nIntensity = 100; in GetGradientColor() local370 nIntensity = pGradient->StartIntensity; in GetGradientColor()375 nIntensity = pGradient->EndIntensity; in GetGradientColor()379 sal_uInt32 nRed = ( ( aColor.GetRed() * nIntensity ) / 100 ); in GetGradientColor()380 sal_uInt32 nGreen = ( ( aColor.GetGreen() * nIntensity ) / 100 ) << 8; in GetGradientColor()381 sal_uInt32 nBlue = ( ( aColor.GetBlue() * nIntensity ) / 100 ) << 16; in GetGradientColor()
Completed in 60 milliseconds