/aoo41x/main/tools/source/generic/ |
H A D | color.cxx | 350 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 …]
|
/aoo41x/main/vcl/inc/ |
H A D | impoct.hxx | 37 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()
|
/aoo41x/main/filter/source/graphicfilter/itga/ |
H A D | itga.cxx | 325 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 …]
|
/aoo41x/main/filter/source/graphicfilter/iras/ |
H A D | iras.cxx | 128 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()
|
/aoo41x/main/filter/source/graphicfilter/ipcd/ |
H A D | ipcd.cxx | 216 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()
|
/aoo41x/main/slideshow/source/engine/ |
H A D | color.cxx | 53 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()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 239 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 D | pngread.cxx | 764 sal_uInt8 nBlue = mpColorTable[ *maDataIter++ ]; in ImplReadPalette() local 765 mpAcc->SetPaletteColor( i, Color( nRed, nGreen, nBlue ) ); in ImplReadPalette() 918 sal_uInt8 nBlue = ImplScaleColor(); in ImplGetBackground() local 919 mpAcc->Erase( Color( nRed, nGreen, nBlue ) ); in ImplGetBackground() 1504 sal_uInt8 nBlue = pTmp[ 2 ]; in ImplDrawScanline() local 1507 && ( nBlue == mnTransBlue ) ); in ImplDrawScanline() 1511 mpColorTable[ nBlue ] ), bTransparent ); in ImplDrawScanline() 1521 sal_uInt8 nBlue = pTmp[ 4 ]; in ImplDrawScanline() local 1524 && ( nBlue == mnTransBlue ) ); in ImplDrawScanline() 1528 mpColorTable[ nBlue ] ), bTransparent ); in ImplDrawScanline()
|
H A D | octree.cxx | 202 (*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()
|
/aoo41x/main/cppcanvas/inc/cppcanvas/ |
H A D | color.hxx | 74 …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()
|
/aoo41x/main/tools/inc/tools/ |
H A D | color.hxx | 121 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()
|
/aoo41x/main/filter/source/graphicfilter/itiff/ |
H A D | itiff.cxx | 729 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() 847 …nBlue = (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()
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salgdi.cxx | 237 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 …]
|
/aoo41x/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 717 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 …]
|
/aoo41x/main/odk/examples/DevelopersGuide/GUI/ |
H A D | MessageBox.java | 195 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()
|
/aoo41x/main/basebmp/inc/basebmp/ |
H A D | color.hxx | 44 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
|
/aoo41x/main/sc/source/ui/vba/ |
H A D | vbahelper.cxx | 351 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()
|
/aoo41x/main/desktop/source/splash/ |
H A D | splash.cxx | 324 sal_uInt8 nBlue = 0; in loadConfig() local 335 … nBlue = 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()
|
/aoo41x/main/sdext/source/pdfimport/misc/ |
H A D | pdfihelper.cxx | 40 … 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()
|
/aoo41x/main/writerfilter/source/dmapper/ |
H A D | CellColorHandler.cxx | 220 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()
|
/aoo41x/main/filter/source/graphicfilter/ipsd/ |
H A D | ipsd.cxx | 346 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()
|
/aoo41x/main/svx/source/sidebar/graphic/ |
H A D | GraphicPropertyPanel.cxx | 269 const sal_Int16 nBlue = mpMtrBlue->GetValue(); in IMPL_LINK() local 270 const SfxInt16Item aBlueItem( SID_ATTR_GRAF_BLUE, nBlue ); in IMPL_LINK() 494 const sal_Int64 nBlue = pItem->GetValue(); in NotifyItemUpdate() local 495 mpMtrBlue->SetValue( nBlue ); in NotifyItemUpdate()
|
/aoo41x/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 320 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()
|
/aoo41x/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 495 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()
|
/aoo41x/main/slideshow/source/inc/ |
H A D | rgbcolor.hxx | 45 RGBColor( double nRed, double nGreen, double nBlue ); 92 RGBTriple( double nRed, double nGreen, double nBlue );
|