Home
last modified time | relevance | path

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

/trunk/main/tools/source/generic/ !
H A Dcolor.cxx160 void Color::RGBtoHSB( sal_uInt16& nHue, sal_uInt16& nSat, sal_uInt16& nBri ) const in RGBtoHSB() argument
188 nSat = cDelta * 100 / cMax; in RGBtoHSB()
190 nSat = 0; in RGBtoHSB()
192 if( nSat == 0 ) in RGBtoHSB()
219 ColorData Color::HSBtoRGB( sal_uInt16 nHue, sal_uInt16 nSat, sal_uInt16 nBri ) in HSBtoRGB() argument
224 if( nSat == 0 ) in HSBtoRGB()
242 sal_uInt8 a = (sal_uInt8) ( nB * ( 100 - nSat ) / 100 ); in HSBtoRGB()
243 sal_uInt8 b = (sal_uInt8) ( nB * ( 100 - ( (double)nSat * f ) ) / 100 ); in HSBtoRGB()
244 sal_uInt8 c = (sal_uInt8) ( nB * ( 100 - ( (double)nSat * ( 1.0 - f ) ) ) / 100 ); in HSBtoRGB()
/trunk/main/cui/source/dialogs/ !
H A Dcolorpicker.cxx506 sal_uInt16 nHue, nSat, nBri; in UpdateBitmap() local
507 maColor.RGBtoHSB( nHue, nSat, nBri ); in UpdateBitmap()
522 nSat = pPercent_Horiz[x]; in UpdateBitmap()
523 … pWriteAccess->SetPixel( y, x, BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ) ); in UpdateBitmap()
535 … pWriteAccess->SetPixel( y, x, BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ) ); in UpdateBitmap()
542 nSat = pPercent_Vert[y]; in UpdateBitmap()
868 sal_uInt16 nHue, nSat, nBri; in UpdateBitmap() local
869 maColor.RGBtoHSB( nHue, nSat, nBri ); in UpdateBitmap()
876 nSat = 100; in UpdateBitmap()
881 aBitmapColor = BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ); in UpdateBitmap()
[all …]
/trunk/main/reportdesign/source/ui/report/ !
H A DEndMarker.cxx67 sal_uInt16 nSat = 0; in Paint() local
69 aStartColor.RGBtoHSB(nHue, nSat, nBri); in Paint()
70 nSat += 40; in Paint()
71 Color aEndColor(Color::HSBtoRGB(nHue, nSat, nBri)); in Paint()
H A DStartMarker.cxx137 sal_uInt16 nSat = 0; in Paint() local
139 aStartColor.RGBtoHSB(nHue, nSat, nBri); in Paint()
140 nSat += 40; in Paint()
141 Color aEndColor(Color::HSBtoRGB(nHue, nSat, nBri)); in Paint()
/trunk/main/oox/source/drawingml/ !
H A Dcolor.cxx267 void Color::setHslClr( sal_Int32 nHue, sal_Int32 nSat, sal_Int32 nLum ) in setHslClr() argument
270 … OSL_ENSURE( (0 <= nSat) && (nSat <= MAX_PERCENT), "Color::setHslClr - invalid saturation value" ); in setHslClr()
274 mnC2 = getLimitedValue< sal_Int32, sal_Int32 >( nSat, 0, MAX_PERCENT ); in setHslClr()
/trunk/main/tools/inc/tools/ !
H A Dcolor.hxx174 static ColorData HSBtoRGB( sal_uInt16 nHue, sal_uInt16 nSat, sal_uInt16 nBri );
175 void RGBtoHSB( sal_uInt16& nHue, sal_uInt16& nSat, sal_uInt16& nBri ) const;
/trunk/main/sd/source/ui/slidesorter/view/ !
H A DSlsPageObjectPainter.cxx118 sal_uInt16 nHue, nSat, nBri; in PageObjectPainter() local
119 aColor.RGBtoHSB(nHue, nSat, nBri); in PageObjectPainter()
/trunk/main/oox/inc/oox/drawingml/ !
H A Dcolor.hxx59 void setHslClr( sal_Int32 nHue, sal_Int32 nSat, sal_Int32 nLum );

Completed in 42 milliseconds