Searched refs:nLuminance (Results 1 – 11 of 11) sorted by relevance
/trunk/main/slideshow/source/engine/ |
H A D | color.cxx | 45 double getMagic( double nLuminance, double nSaturation ) in getMagic() argument 47 if( nLuminance <= 0.5 ) in getMagic() 48 return nLuminance*(1.0 + nSaturation); in getMagic() 50 return nLuminance + nSaturation - nLuminance*nSaturation; in getMagic() 113 RGBColor::RGBTriple hsl2rgb( double nHue, double nSaturation, double nLuminance ) in hsl2rgb() argument 116 return RGBColor::RGBTriple(0.0, 0.0, nLuminance ); in hsl2rgb() 118 const double nVal1( getMagic(nLuminance, nSaturation) ); in hsl2rgb() 119 const double nVal2( 2.0*nLuminance - nVal1 ); in hsl2rgb() 175 mnLuminance( nLuminance ) in HSLTriple() 195 HSLColor::HSLColor( double nHue, double nSaturation, double nLuminance ) : in HSLColor() argument [all …]
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | vbapictureformat.cxx | 53 sal_Int16 nLuminance = 0; in getBrightness() local 54 …xPropertySet->getPropertyValue( rtl::OUString::createFromAscii("AdjustLuminance") ) >>= nLuminance; in getBrightness() 55 double fBrightness = static_cast< double >( nLuminance ); in getBrightness() 65 sal_Int16 nLuminance = static_cast< sal_Int16 >( fLuminance ); in setBrightness() local 66 …setPropertyValue( rtl::OUString::createFromAscii("AdjustLuminance"), uno::makeAny( nLuminance ) ); in setBrightness()
|
/trunk/main/slideshow/source/inc/ |
H A D | hslcolor.hxx | 45 HSLColor( double nHue, double nSaturation, double nLuminance ); 85 HSLTriple( double nHue, double nSaturation, double nLuminance );
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | shapeimporter.cxx | 386 sal_Int16 nLuminance(0); in createShape() local 396 getPropertyValue( nLuminance, xPropSet, OUSTR("AdjustLuminance") ); in createShape() 407 aGraphAttrs.SetLuminance( nLuminance ); in createShape()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape2d.cxx | 1071 const sal_Int32 nLuminance = GetLuminanceChange(nIndex); in GetColorData() local 1072 if( !nLuminance ) in GetColorData() 1080 if( nLuminance > 0 ) in GetColorData() 1083 aHSVColor.getGreen() * (1.0-nLuminance/100.0)); in GetColorData() 1085 nLuminance/100.0 + in GetColorData() 1086 (1.0-nLuminance/100.0)*aHSVColor.getBlue()); in GetColorData() 1088 else if( nLuminance < 0 ) in GetColorData() 1091 (1.0+nLuminance/100.0)*aHSVColor.getBlue()); in GetColorData()
|
/trunk/main/odk/examples/DevelopersGuide/GUI/ |
H A D | MessageBox.java | 196 int nLuminance = (( nBlue*28 + nGreen*151 + nRed*77 ) / 256 ); in isHighContrastModeActivated() local 197 boolean bisactivated = (nLuminance <= 25); in isHighContrastModeActivated()
|
/trunk/main/vcl/source/app/ |
H A D | settings.cxx | 929 sal_uInt8 nLuminance = rColor.GetLuminance(); in ImplIsBlackOrWhite() local 930 return ( nLuminance < 8 ) || ( nLuminance > 250 ); in ImplIsBlackOrWhite()
|
/trunk/main/wizards/com/sun/star/wizards/ui/ |
H A D | UnoDialog.java | 1063 int nLuminance = ((nBlue * 28 + nGreen * 151 + nRed * 77) / 256); in isHighContrastModeActivated() local 1064 boolean bisactivated = (nLuminance <= 25); in isHighContrastModeActivated()
|
/trunk/main/filter/source/msfilter/ |
H A D | escherex.cxx | 1178 sal_Int16 nLuminance = 0; in ImplCreateGraphicAttributes() local 1184 aAny >>= nLuminance; in ImplCreateGraphicAttributes() 1195 nLuminance += 70; in ImplCreateGraphicAttributes() 1196 if ( nLuminance > 100 ) in ImplCreateGraphicAttributes() 1197 nLuminance = 100; in ImplCreateGraphicAttributes() 1223 if ( nLuminance ) in ImplCreateGraphicAttributes() 1224 AddOpt( ESCHER_Prop_pictureBrightness, nLuminance * 327 ); in ImplCreateGraphicAttributes()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdoashp.cxx | 314 sal_uInt16 nLuminance((sal_uInt16)pReadAccess->GetLuminance(y, x) + 1); in ImpCreateShadowObjectClone() local 316 (sal_uInt8)((nLuminance * (sal_uInt16)aShadowColor.GetRed()) >> 8L), in ImpCreateShadowObjectClone() 317 (sal_uInt8)((nLuminance * (sal_uInt16)aShadowColor.GetGreen()) >> 8L), in ImpCreateShadowObjectClone() 318 (sal_uInt8)((nLuminance * (sal_uInt16)aShadowColor.GetBlue()) >> 8L)); in ImpCreateShadowObjectClone()
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 1641 …sal_uInt32 nLuminance = ((sal_Int32)rGradient.GetStartColor().GetLuminance() + (sal_Int32)rGradien… in Impl_writeActions() local 1644 mnGlobalTransparency = (sal_uInt8)MinMax( nLuminance, 0, 0xff ); in Impl_writeActions()
|
Completed in 335 milliseconds