Home
last modified time | relevance | path

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

/aoo41x/main/svx/source/customshapes/
H A DEnhancedCustomShape2d.cxx1075 basegfx::BColor aHSVColor= in GetColorData() local
1082 aHSVColor.setGreen( in GetColorData()
1083 aHSVColor.getGreen() * (1.0-nLuminance/100.0)); in GetColorData()
1084 aHSVColor.setBlue( in GetColorData()
1086 (1.0-nLuminance/100.0)*aHSVColor.getBlue()); in GetColorData()
1090 aHSVColor.setBlue( in GetColorData()
1091 (1.0+nLuminance/100.0)*aHSVColor.getBlue()); in GetColorData()
1094 aHSVColor = basegfx::tools::hsv2rgb(aHSVColor); in GetColorData()
1095 …return Color( (sal_uInt8)static_cast< sal_Int32 >( basegfx::clamp(aHSVColor.getRed(),0.0,1.0) * 25… in GetColorData()
1096 … (sal_uInt8)static_cast< sal_Int32 >( basegfx::clamp(aHSVColor.getGreen(),0.0,1.0) * 255.0 + 0.5 ), in GetColorData()
[all …]

Completed in 13 milliseconds