Home
last modified time | relevance | path

Searched refs:nBlue (Results 1 – 25 of 54) sorted by relevance

123

/aoo42x/main/tools/source/generic/
H A Dcolor.cxx350 sal_uInt16 nBlue; in operator >>() local
363 nBlue = 0; in operator >>()
411 nBlue = cAry[i]; in operator >>()
412 nBlue <<= 8; in operator >>()
414 nBlue |= cAry[i]; in operator >>()
419 nBlue = cAry[i]; in operator >>()
420 nBlue <<= 8; in operator >>()
428 rIStream >> nBlue; in operator >>()
491 nBlue = (nBlue<<8) + nBlue; in operator <<()
526 if ( nBlue & 0x00FF ) in operator <<()
[all …]
/aoo42x/main/filter/source/graphicfilter/itga/
H A Ditga.cxx325 nBlue = (sal_uInt8)( mpColorMap[ nRGB16 ] ); in ImplReadBody()
352 nBlue = (sal_uInt8)( mpColorMap[ nRGB16 ] ); in ImplReadBody()
439 *mpTGA >> nBlue >> nGreen >> nRed >> nDummy; in ImplReadBody()
488 *mpTGA >> nBlue >> nGreen >> nRed; in ImplReadBody()
510 *mpTGA >> nBlue >> nGreen >> nRed; in ImplReadBody()
539 nBlue = (sal_uInt8)( nRGB16 << 3 ) & 0xf8; in ImplReadBody()
564 nBlue = (sal_uInt8)( nRGB16 << 3 ) & 0xf8; in ImplReadBody()
608 nBlue = (sal_uInt8)( mpColorMap[ nRGB16 ] ); in ImplReadBody()
636 *mpTGA >> nBlue >> nGreen >> nRed >> nDummy; in ImplReadBody()
646 *mpTGA >> nBlue >> nGreen >> nRed; in ImplReadBody()
[all …]
/aoo42x/main/vcl/inc/
H A Dimpoct.hxx37 long nBlue; member in ImpErrorQuad
46 nBlue ( (long) rColor.GetBlue() << 5L ) {} in ImpErrorQuad()
65 nBlue = (long) rColor.GetBlue() << 5L; in operator =()
74 nBlue -= ( (long) rColor.GetBlue() << 5L ); in operator -=()
85 nBlue += ( rErrQuad.nBlue >> 4L ); in ImplAddColorError1()
94 nBlue += ( rErrQuad.nBlue * 3L >> 4L ); in ImplAddColorError3()
103 nBlue += ( rErrQuad.nBlue * 5L >> 4L ); in ImplAddColorError5()
112 nBlue += ( rErrQuad.nBlue *7L >> 4L ); in ImplAddColorError7()
121 (sal_uInt8) ( ( nBlue < 0L ? 0L : nBlue > 8160L ? 8160L : nBlue ) >> 5L ) ); in ImplGetColor()
/aoo42x/main/filter/source/graphicfilter/iras/
H A Diras.cxx128 sal_uInt8 nRed[256], nGreen[256], nBlue[256]; in ReadRAS() local
131 for ( i = 0; i < mnDstColors; i++ ) *mpRAS >> nBlue[ i ]; in ReadRAS()
134 mpAcc->SetPaletteColor( i, BitmapColor( nRed[ i ], nGreen[ i ], nBlue[ i ] ) ); in ReadRAS()
223 sal_uInt8 nRed, nGreen, nBlue; in ImplReadBody() local
266 nBlue = ImplGetByte(); in ImplReadBody()
270 nBlue = ImplGetByte(); in ImplReadBody()
274 mpAcc->SetPixel ( y, x, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
290 nBlue = ImplGetByte(); in ImplReadBody()
294 nBlue = ImplGetByte(); in ImplReadBody()
298 mpAcc->SetPixel ( y, x, BitmapColor( nRed, nGreen, nBlue ) ); in ImplReadBody()
/aoo42x/main/filter/source/graphicfilter/ipcd/
H A Dipcd.cxx216 long nL,nCb,nCr,nRed,nGreen,nBlue; in ReadImage() local
344 nBlue = ( nL + nCb * 145352L + 0x8000 ) >> 16; in ReadImage()
345 if ( nBlue < 0 ) in ReadImage()
346 nBlue = 0; in ReadImage()
347 if ( nBlue > 255 ) in ReadImage()
348 nBlue = 255; in ReadImage()
354 … mpAcc->SetPixel( ny, nx, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ReadImage()
356 …tPixel( nWidth - 1 - nx, ny, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ReadImage()
361 …1 - ny, ( nWidth - 1 - nx ), BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ReadImage()
363 …l( nx, ( nHeight - 1 - ny ), BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ReadImage()
/aoo42x/main/slideshow/source/engine/
H A Dcolor.cxx53 HSLColor::HSLTriple rgb2hsl( double nRed, double nGreen, double nBlue ) in rgb2hsl() argument
58 const double nMax( ::std::max(nRed,::std::max(nGreen, nBlue)) ); in rgb2hsl()
59 const double nMin( ::std::min(nRed,::std::min(nGreen, nBlue)) ); in rgb2hsl()
79 aRes.mnHue = (nGreen - nBlue)/nDelta; in rgb2hsl()
81 aRes.mnHue = 2.0 + (nBlue - nRed)/nDelta; in rgb2hsl()
82 else if( nBlue == nMax ) in rgb2hsl()
354 RGBColor::RGBTriple::RGBTriple( double nRed, double nGreen, double nBlue ) : in RGBTriple() argument
357 mnBlue( nBlue ) in RGBTriple()
373 RGBColor::RGBColor( double nRed, double nGreen, double nBlue ) : in RGBColor() argument
374 maRGBTriple( nRed, nGreen, nBlue ) in RGBColor()
/aoo42x/main/vcl/source/gdi/
H A Doutdev4.cxx239 sal_uInt8 nBlue; in ImplDrawLinearGradient() local
248 nBlue = (sal_uInt8)nStartBlue; in ImplDrawLinearGradient()
252 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient()
333 nBlue = ImplGetGradientColorValue((long)fTempColor); in ImplDrawLinearGradient()
337 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient()
371 nBlue = ImplGetGradientColorValue(nEndBlue); in ImplDrawLinearGradient()
375 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient()
531 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawComplexGradient()
599 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawComplexGradient()
627 nBlue = ImplGetGradientColorValue( nEndBlue ); in ImplDrawComplexGradient()
[all …]
H A Dpngread.cxx774 sal_uInt8 nBlue = mpColorTable[ *maDataIter++ ]; in ImplReadPalette() local
775 mpAcc->SetPaletteColor( i, Color( nRed, nGreen, nBlue ) ); in ImplReadPalette()
928 sal_uInt8 nBlue = ImplScaleColor(); in ImplGetBackground() local
929 mpAcc->Erase( Color( nRed, nGreen, nBlue ) ); in ImplGetBackground()
1514 sal_uInt8 nBlue = pTmp[ 2 ]; in ImplDrawScanline() local
1517 && ( nBlue == mnTransBlue ) ); in ImplDrawScanline()
1521 mpColorTable[ nBlue ] ), bTransparent ); in ImplDrawScanline()
1531 sal_uInt8 nBlue = pTmp[ 4 ]; in ImplDrawScanline() local
1534 && ( nBlue == mnTransBlue ) ); in ImplDrawScanline()
1538 mpColorTable[ nBlue ] ), bTransparent ); in ImplDrawScanline()
H A Doctree.cxx202 (*ppNode)->nBlue += pColor->GetBlue(); in ImplAdd()
241 nBlueSum += pChild->nBlue; in ImplReduce()
253 pNode->nBlue = nBlueSum; in ImplReduce()
266 (sal_uInt8) ( (double) pNode->nBlue / pNode->nCount ) ); in CreatePalette()
/aoo42x/main/cppcanvas/inc/cppcanvas/
H A Dcolor.hxx74 …inline Color::IntSRGBA makeColor( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue, sal_uInt8 nAl… in makeColor() argument
76 return (nRed << 24U)|(nGreen << 16U)|(nBlue << 8U)|(nAlpha); in makeColor()
79 … inline sal_Int32 unMakeColor( sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) in unMakeColor() argument
81 return (nAlpha << 24U)|(nRed << 16U)|(nGreen << 8U)|(nBlue); in unMakeColor()
84 …nline sal_Int32 makeColorARGB( sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) in makeColorARGB() argument
86 return (nAlpha << 24U)|(nRed << 16U)|(nGreen << 8U)|(nBlue); in makeColorARGB()
/aoo42x/main/tools/inc/tools/
H A Dcolor.hxx121 Color( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color() argument
122 { mnColor = RGB_COLORDATA( nRed, nGreen, nBlue ); } in Color()
123 Color( sal_uInt8 nTransparency, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color() argument
124 { mnColor = TRGB_COLORDATA( nTransparency, nRed, nGreen, nBlue ); } in Color()
141 void SetBlue( sal_uInt8 nBlue );
208 inline void Color::SetBlue( sal_uInt8 nBlue ) in SetBlue() argument
211 mnColor |= nBlue; in SetBlue()
/aoo42x/main/filter/source/graphicfilter/itiff/
H A Ditiff.cxx729 sal_uInt32 nRed, nGreen, nBlue, ns, nx, nVal, nByteCount; in ConvertScanline() local
772 nBlue = GetBits( pMap[ 2 ], ( nx * nSamplesPerPixel + 2 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
778 nBlue = GetBits( pMap[ 2 ], nx * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
780 …( (sal_uInt8)( nRed - nMinMax ), (sal_uInt8)( nGreen - nMinMax ), (sal_uInt8)(nBlue - nMinMax) ) ); in ConvertScanline()
795 nBlue = GetBits( pMap[ 0 ],( nx * nSamplesPerPixel + 2 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
801 nBlue = GetBits( pMap[ 2 ], nx * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
805 nBlue = 255 - (sal_uInt8)( nBlue - nMinMax ); in ConvertScanline()
806 pAcc->SetPixel( nY, nx, Color( (sal_uInt8) nRed, (sal_uInt8) nGreen, (sal_uInt8) nBlue ) ); in ConvertScanline()
847nBlue = (sal_uInt8) Max( 0L, 255L - ( ( (long) nSamp[ 2 ] + nBlack - ( ( (long) nMinSampleValue ) … in ConvertScanline()
849 pAcc->SetPixel( nY, nx, Color ( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ConvertScanline()
/aoo42x/main/vcl/win/source/gdi/
H A Dsalgdi.cxx237 BYTE nRed, nGreen, nBlue; in ImplInitSalGDI() local
255 for( nB=0, nBlue=0; nB < DITHER_PAL_STEPS; nB++, nBlue += DITHER_PAL_DELTA ) in ImplInitSalGDI()
263 pPalEntry->peBlue = nBlue; in ImplInitSalGDI()
396 static int ImplIsPaletteEntry( BYTE nRed, BYTE nGreen, BYTE nBlue ) in ImplIsPaletteEntry() argument
407 if( pPalEntry->peRed == nRed && pPalEntry->peGreen == nGreen && pPalEntry->peBlue == nBlue ) in ImplIsPaletteEntry()
414 aImplExtraColor1.peBlue == nBlue ) in ImplIsPaletteEntry()
1195 BYTE nBlue = SALCOLOR_BLUE( nSalColor ); in SetFillColor() local
1196 COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue ); in SetFillColor()
1234 *pTmp++ = DMAP( nBlue, nThres ); in SetFillColor()
1247 else if ( ImplIsPaletteEntry( nRed, nGreen, nBlue ) ) in SetFillColor()
[all …]
/aoo42x/main/filter/source/graphicfilter/ipict/
H A Dipict.cxx717 sal_uInt8 nDat, nRed, nGreen, nBlue, nDummy; in ReadPixMapEtc() local
767 *pPict >> nRed >> nDummy >> nGreen >> nDummy >> nBlue >> nDummy; in ReadPixMapEtc()
918 nBlue = (sal_uInt8)( nD << 3 ); in ReadPixMapEtc()
919 pAcc->SetPixel( ny, nx++, BitmapColor( nRed, nGreen, nBlue ) ); in ReadPixMapEtc()
950 nBlue = (sal_uInt8)( nD << 3 ); in ReadPixMapEtc()
951 pAcc->SetPixel( ny, nx++, BitmapColor( nRed, nGreen, nBlue ) ); in ReadPixMapEtc()
962 nBlue = (sal_uInt8)( nD << 3 ); in ReadPixMapEtc()
993 *pPict >> nDummy >> nRed >> nGreen >> nBlue; in ReadPixMapEtc()
994 pAcc->SetPixel( ny, nx, BitmapColor( nRed, nGreen, nBlue) ); in ReadPixMapEtc()
1006 *pPict >> nRed >> nGreen >> nBlue; in ReadPixMapEtc()
[all …]
/aoo42x/main/odk/examples/DevelopersGuide/GUI/
H A DMessageBox.java195 int nBlue = getBlueColorShare(nUIColor); in isHighContrastModeActivated() local
196 int nLuminance = (( nBlue*28 + nGreen*151 + nRed*77 ) / 256 ); in isHighContrastModeActivated()
213 int nBlue = nGreenModulo; in getRedColorShare() local
229 int nBlue = nGreenModulo; in getBlueColorShare() local
230 return nBlue; in getBlueColorShare()
/aoo42x/main/basebmp/inc/basebmp/
H A Dcolor.hxx44 Color( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) : in Color() argument
45 mnColor( ((sal_uInt32)nRed << 16) | ((sal_uInt32)nGreen << 8) | nBlue ) in Color()
50 void setBlue( sal_uInt8 nBlue ) { mnColor &= ~0x000000FFUL; mnColor |= nBlue; } in setBlue() argument
/aoo42x/main/sc/source/ui/vba/
H A Dvbahelper.cxx351 sal_Int32 nBlue = nCol; in OORGBToXLRGB() local
352 nBlue &= 0x000000FF; in OORGBToXLRGB()
353 sal_Int32 nRGB = ( (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB()
359 sal_Int32 nBlue = nCol; in XLRGBToOORGB() local
360 nBlue &= 0x00FF0000; in XLRGBToOORGB()
361 nBlue >>= 16; in XLRGBToOORGB()
367 sal_Int32 nRGB = ( (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB()
/aoo42x/main/desktop/source/splash/
H A Dsplash.cxx324 sal_uInt8 nBlue = 0; in loadConfig() local
335nBlue = static_cast< sal_uInt8 >( sProgressFrameColor.getToken( 0, ',', idx ).toInt32() ); in loadConfig()
336 _cProgressFrameColor = Color( nRed, nGreen, nBlue ); in loadConfig()
349 sal_uInt8 nBlue = 0; in loadConfig() local
360 nBlue = static_cast< sal_uInt8 >( sProgressBarColor.getToken( 0, ',', idx ).toInt32() ); in loadConfig()
361 _cProgressBarColor = Color( nRed, nGreen, nBlue ); in loadConfig()
/aoo42x/main/sdext/source/pdfimport/misc/
H A Dpdfihelper.cxx40 … const sal_uInt8 nBlue ( sal::static_int_cast<sal_Int8>( basegfx::fround( rCol.Blue * 255.0 ) ) ); in getColorString() local
48 if( nBlue < 10 ) in getColorString()
50 aBuf.append( sal_Int32(nBlue), 16 ); in getColorString()
/aoo42x/main/writerfilter/source/dmapper/
H A DCellColorHandler.cxx220 sal_uInt32 nBlue = (nFore & 0xff) * nWW8BrushStyle; in getProperties() local
223 nBlue += (nBack & 0xff) * (1000L - nWW8BrushStyle); in getProperties()
225 nApplyColor = ( (nRed/1000) << 0x10 ) + ((nGreen/1000) << 8) + nBlue/1000; in getProperties()
/aoo42x/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx346 sal_uInt8 nDat = 0, nDummy, nRed, nGreen, nBlue; in ImplReadBody() local
547 *mpPSD >> nBlue; in ImplReadBody()
553 …WriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue ) ); in ImplReadBody()
567 *mpPSD >> nBlue; in ImplReadBody()
571 …WriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue ) ); in ImplReadBody()
/aoo42x/main/svx/source/sidebar/graphic/
H A DGraphicPropertyPanel.cxx271 const sal_Int16 nBlue = mpMtrBlue->GetValue(); in IMPL_LINK() local
272 const SfxInt16Item aBlueItem( SID_ATTR_GRAF_BLUE, nBlue ); in IMPL_LINK()
496 const sal_Int64 nBlue = pItem->GetValue(); in NotifyItemUpdate() local
497 mpMtrBlue->SetValue( nBlue ); in NotifyItemUpdate()
/aoo42x/main/vbahelper/source/vbahelper/
H A Dvbahelper.cxx495 sal_Int32 nBlue = nCol; in OORGBToXLRGB() local
496 nBlue &= 0x000000FF; in OORGBToXLRGB()
497 sal_Int32 nRGB = ( nAutoBits | (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB()
506 sal_Int32 nBlue = nCol; in XLRGBToOORGB() local
507 nBlue &= 0x00FF0000; in XLRGBToOORGB()
508 nBlue >>= 16; in XLRGBToOORGB()
514 sal_Int32 nRGB = ( nAutoBits | (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB()
/aoo42x/main/filter/source/graphicfilter/ipbm/
H A Dipbm.cxx320 sal_uLong nRed, nGreen, nBlue; in ImplReadBody() local
324 nBlue = 255 * nB / mnMaxVal; in ImplReadBody()
325 …SetPixel( nHeight, nWidth++, BitmapColor( (sal_uInt8)nRed, (sal_uInt8)nGreen, (sal_uInt8)nBlue ) ); in ImplReadBody()
/aoo42x/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx630 sal_uInt8 nRed, nGreen, nBlue; in GetDefaultPalette() local
631 for( nB=0, nBlue=0; nB < DITHER_PAL_STEPS; nB++, nBlue += DITHER_PAL_DELTA ) in GetDefaultPalette()
637 aDefPalette256[ i ] = BitmapColor( nRed, nGreen, nBlue ); in GetDefaultPalette()

Completed in 149 milliseconds

123