Home
last modified time | relevance | path

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

/trunk/main/slideshow/source/engine/
H A Dcolor.cxx97 nHue = fmod( nHue, 360.0 ); in hsl2rgbHelper()
100 if( nHue < 0.0 ) in hsl2rgbHelper()
101 nHue += 360.0; in hsl2rgbHelper()
103 if( nHue < 60.0 ) in hsl2rgbHelper()
105 else if( nHue < 180.0 ) in hsl2rgbHelper()
107 else if( nHue < 240.0 ) in hsl2rgbHelper()
128 nHue ); in hsl2rgb()
173 mnHue( nHue ), in HSLTriple()
305 double nHue=0.0; in interpolate() local
333 nHue = (1.0-t)*nFromHue + t*nToHue; in interpolate()
[all …]
/trunk/main/basegfx/source/color/
H A Dbcolortools.cxx71 static inline double hsl2rgbHelper( double nValue1, double nValue2, double nHue ) in hsl2rgbHelper() argument
74 nHue = fmod( nHue, 360.0 ); in hsl2rgbHelper()
77 if( nHue < 0.0 ) in hsl2rgbHelper()
78 nHue += 360.0; in hsl2rgbHelper()
80 if( nHue < 60.0 ) in hsl2rgbHelper()
81 return nValue1 + (nValue2 - nValue1)*nHue/60.0; in hsl2rgbHelper()
82 else if( nHue < 180.0 ) in hsl2rgbHelper()
84 else if( nHue < 240.0 ) in hsl2rgbHelper()
85 return nValue1 + (nValue2 - nValue1)*(240.0 - nHue)/60.0; in hsl2rgbHelper()
/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()
523 … pWriteAccess->SetPixel( y, x, BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ) ); in UpdateBitmap()
534 nHue = pGrad_Horiz[x]; in UpdateBitmap()
535 … pWriteAccess->SetPixel( y, x, BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ) ); in UpdateBitmap()
546 nHue = pGrad_Horiz[x]; in UpdateBitmap()
547 … pWriteAccess->SetPixel( y, x, BitmapColor( Color( Color::HSBtoRGB( nHue, nSat, nBri ) ) ) ); in UpdateBitmap()
868 sal_uInt16 nHue, nSat, nBri; in UpdateBitmap() local
869 maColor.RGBtoHSB( nHue, nSat, nBri ); in UpdateBitmap()
880 nHue = static_cast< sal_uInt16 >( (359 * y) / nY ); in UpdateBitmap()
[all …]
/trunk/main/filter/source/graphicfilter/idxf/
H A Ddxfreprd.cxx61 short i,j,nHue,nNSat,nVal,nC[3],nmax,nmed,nmin; in DXFPalette() local
83 for (nHue=0; nHue<24; nHue++) { in DXFPalette()
86 nmax=((nHue+3)>>3)%3; in DXFPalette()
87 j=nHue-(nmax<<3); if (j>4) j=j-24; in DXFPalette()
/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
193 nHue = 0; // Default = undefined in RGBtoHSB()
215 nHue = (sal_uInt16) dHue; in RGBtoHSB()
219 ColorData Color::HSBtoRGB( sal_uInt16 nHue, sal_uInt16 nSat, sal_uInt16 nBri ) in HSBtoRGB() argument
232 double dH = nHue; in HSBtoRGB()
/trunk/main/reportdesign/source/ui/report/
H A DEndMarker.cxx66 sal_uInt16 nHue = 0; in Paint() local
69 aStartColor.RGBtoHSB(nHue, nSat, nBri); in Paint()
71 Color aEndColor(Color::HSBtoRGB(nHue, nSat, nBri)); in Paint()
H A DStartMarker.cxx136 sal_uInt16 nHue = 0; in Paint() local
139 aStartColor.RGBtoHSB(nHue, nSat, nBri); 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
269 OSL_ENSURE( (0 <= nHue) && (nHue <= MAX_DEGREE), "Color::setHslClr - invalid hue value" ); in setHslClr()
273 mnC1 = getLimitedValue< sal_Int32, sal_Int32 >( nHue, 0, MAX_DEGREE ); in setHslClr()
/trunk/main/slideshow/source/inc/
H A Dhslcolor.hxx45 HSLColor( double nHue, double nSaturation, double nLuminance );
85 HSLTriple( double nHue, double nSaturation, double nLuminance );
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsTheme.cxx58 sal_uInt16 nHue (0); in HGBAdapt() local
61 Color(aColorData).RGBtoHSB(nHue, nSaturation, nBrightness); in HGBAdapt()
63 nHue, in HGBAdapt()
H A DSlsPageObjectPainter.cxx118 sal_uInt16 nHue, nSat, nBri; in PageObjectPainter() local
119 aColor.RGBtoHSB(nHue, nSat, nBri); in PageObjectPainter()
120 aColor = Color::HSBtoRGB(nHue, 28, 65); in PageObjectPainter()
/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/oox/inc/oox/drawingml/
H A Dcolor.hxx59 void setHslClr( sal_Int32 nHue, sal_Int32 nSat, sal_Int32 nLum );

Completed in 73 milliseconds