Home
last modified time | relevance | path

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

/aoo41x/main/svx/source/customshapes/
H A DEnhancedCustomShape3d.cxx759 sal_Int32 nIntensity = (sal_Int32)fSpecular * 100; in Create3DObject() local
760 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()
/aoo41x/main/oox/source/export/
H A Ddrawingml.cxx178 sal_uInt32 DrawingML::ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity ) in ColorWithIntensity() argument
180 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()
/aoo41x/main/oox/inc/oox/export/
H A Ddrawingml.hxx128 sal_uInt32 ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity );
/aoo41x/main/filter/source/msfilter/
H A Descherex.cxx363 sal_uInt32 nIntensity = 100; in GetGradientColor() local
370 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 43 milliseconds