Home
last modified time | relevance | path

Searched refs:nLuminance (Results 1 – 11 of 11) sorted by relevance

/aoo42x/main/slideshow/source/engine/
H A Dcolor.cxx45 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 …]
/aoo42x/main/vbahelper/source/vbahelper/
H A Dvbapictureformat.cxx53 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()
/aoo42x/main/slideshow/source/inc/
H A Dhslcolor.hxx45 HSLColor( double nHue, double nSaturation, double nLuminance );
85 HSLTriple( double nHue, double nSaturation, double nLuminance );
/aoo42x/main/slideshow/source/engine/shapes/
H A Dshapeimporter.cxx386 sal_Int16 nLuminance(0); in createShape() local
396 getPropertyValue( nLuminance, xPropSet, OUSTR("AdjustLuminance") ); in createShape()
407 aGraphAttrs.SetLuminance( nLuminance ); in createShape()
/aoo42x/main/svx/source/customshapes/
H A DEnhancedCustomShape2d.cxx1071 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()
/aoo42x/main/odk/examples/DevelopersGuide/GUI/
H A DMessageBox.java196 int nLuminance = (( nBlue*28 + nGreen*151 + nRed*77 ) / 256 ); in isHighContrastModeActivated() local
197 boolean bisactivated = (nLuminance <= 25); in isHighContrastModeActivated()
/aoo42x/main/vcl/source/app/
H A Dsettings.cxx929 sal_uInt8 nLuminance = rColor.GetLuminance(); in ImplIsBlackOrWhite() local
930 return ( nLuminance < 8 ) || ( nLuminance > 250 ); in ImplIsBlackOrWhite()
/aoo42x/main/wizards/com/sun/star/wizards/ui/
H A DUnoDialog.java1063 int nLuminance = ((nBlue * 28 + nGreen * 151 + nRed * 77) / 256); in isHighContrastModeActivated() local
1064 boolean bisactivated = (nLuminance <= 25); in isHighContrastModeActivated()
/aoo42x/main/filter/source/msfilter/
H A Descherex.cxx1178 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()
/aoo42x/main/svx/source/svdraw/
H A Dsvdoashp.cxx314 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()
/aoo42x/main/filter/source/flash/
H A Dswfwriter1.cxx1641 …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 107 milliseconds