/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/basegfx/inc/basegfx/pixel/ |
H A D | bpixel.hxx | 67 explicit BPixel(sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue, sal_uInt8 nOpacity) in BPixel() argument 71 maPixelUnion.maRGBO.mnB = nBlue; in BPixel()
|
/aoo41x/main/basic/source/runtime/ |
H A D | methods.cxx | 3899 sal_uIntPtr nBlue = rPar.Get(3)->GetInteger() & 0xFF; in RTLFUNC() local 3906 nRGB = (nBlue << 16) | (nGreen << 8) | nRed; in RTLFUNC() 3910 nRGB = (nRed << 16) | (nGreen << 8) | nBlue; in RTLFUNC()
|
/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/cui/source/dialogs/ |
H A D | colorpicker.cxx | 1287 sal_uInt8 nBlue = toInt(mdBlue,255.0); in update_color() local 1289 Color aColor( nRed, nGreen, nBlue ); in update_color() 1295 maMFBlue.SetValue( nBlue ); in update_color()
|
/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/drawinglayer/source/processor3d/ |
H A D | zbufferprocessor3d.cxx | 78 sal_uInt16 nBlue(0); in BPixelRasterToBitmapEx() local 89 nBlue = nBlue + rPixel.getBlue(); in BPixelRasterToBitmapEx() 103 (sal_uInt8)(nBlue / nDivisor))); in BPixelRasterToBitmapEx()
|
/aoo41x/main/editeng/source/items/ |
H A D | frmitems.cxx | 3582 sal_uInt32 nBlue = aTempColor.GetBlue(); in SvxBrushItem() local 3585 nBlue += (sal_uInt32)(aTempFillColor.GetBlue())*2; in SvxBrushItem() 3586 aColor = Color( (sal_Int8)(nRed/3), (sal_Int8)(nGreen/3), (sal_Int8)(nBlue/3) ); in SvxBrushItem() 3594 sal_uInt32 nBlue = aTempColor.GetBlue(); in SvxBrushItem() local 3597 nBlue += (sal_uInt32)(aTempFillColor.GetBlue()); in SvxBrushItem() 3598 aColor = Color( (sal_Int8)(nRed/2), (sal_Int8)(nGreen/2), (sal_Int8)(nBlue/2) ); in SvxBrushItem() 3606 sal_uInt32 nBlue = aTempColor.GetBlue()*2; in SvxBrushItem() local 3609 nBlue += (sal_uInt32)(aTempFillColor.GetBlue()); in SvxBrushItem() 3610 aColor = Color( (sal_Int8)(nRed/3), (sal_Int8)(nGreen/3), (sal_Int8)(nBlue/3) ); in SvxBrushItem()
|
/aoo41x/main/editeng/source/rtf/ |
H A D | svxrtf.cxx | 462 sal_uInt8 nRed = 0xff, nGreen = 0xff, nBlue = 0xff; in ReadColorTable() local 470 case RTF_BLUE: nBlue = sal_uInt8(nTokenValue); break; in ReadColorTable() 485 ColorPtr pColor = new Color( nRed, nGreen, nBlue ); in ReadColorTable() 487 sal_uInt8(-1) == nRed && sal_uInt8(-1) == nGreen && sal_uInt8(-1) == nBlue ) in ReadColorTable() 490 nRed = 0, nGreen = 0, nBlue = 0; in ReadColorTable()
|
/aoo41x/main/extensions/source/scanner/ |
H A D | sane.cxx | 832 sal_uInt8 nRed, nGreen, nBlue; in Start() local 835 nBlue = _ReadValue( pFrame, aParams.depth ); in Start() 836 aConverter << nBlue; in Start()
|
/aoo41x/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 897 sal_uInt8 nFlagCounterByte, nRed, nGreen, nBlue; in WriteOpcode_BitsRect() local 1154 nBlue = (sal_uInt8)pAcc->GetPaletteColor( (sal_uInt16)i ).GetBlue(); in WriteOpcode_BitsRect() 1155 *pPict << (sal_uInt16)0 << nRed << nRed << nGreen << nGreen << nBlue << nBlue; in WriteOpcode_BitsRect()
|
/aoo41x/main/filter/source/graphicfilter/idxf/ |
H A D | dxfreprd.cxx | 125 void DXFPalette::SetColor(sal_uInt8 nIndex, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue) in SetColor() argument 129 pBlue[nIndex]=nBlue; in SetColor()
|
H A D | dxfreprd.hxx | 69 void SetColor(sal_uInt8 nIndex, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue);
|
/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/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/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/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/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/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/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/filter/source/msfilter/ |
H A D | escherex.cxx | 381 sal_uInt32 nBlue = ( ( aColor.GetBlue() * nIntensity ) / 100 ) << 16; in GetGradientColor() local 382 return nRed | nGreen | nBlue; in GetGradientColor() 562 sal_uInt32 nBlue = GetGradientColor( pGradient, nFirstColor ) >> 16; in CreateGradientProperties() local 563 AddOpt( ESCHER_Prop_fillOpacity,( ( 100 - ( nBlue * 100 / 255 ) ) << 16 ) / 100 ); in CreateGradientProperties() 564 nBlue = GetGradientColor( pGradient, nFirstColor ^ 1 ) >>16 ; in CreateGradientProperties() 565 AddOpt( ESCHER_Prop_fillBackOpacity,( ( 100 - ( nBlue * 100 / 255 ) ) << 16 )/ 100 ); in CreateGradientProperties() 1476 sal_Int16 nBlue(0); in CreateGraphicProperties() local 1579 aAny >>= nBlue; in CreateGraphicProperties() 1671 if(bMirrored || nTransparency || nRed || nGreen || nBlue || (1.0 != fGamma)) in CreateGraphicProperties() 1696 if(nBlue) in CreateGraphicProperties() [all …]
|
H A D | msdffimp.cxx | 1241 sal_Int16 nBlue = static_cast< sal_Int16 >( fBlue + 0.5 ); in ApplyRectangularGradientAsBitmap() local 1272 if ( nBlue < 0 ) in ApplyRectangularGradientAsBitmap() 1273 nBlue = 0; in ApplyRectangularGradientAsBitmap() 1274 if ( nBlue > 255 ) in ApplyRectangularGradientAsBitmap() 1275 nBlue = 255; in ApplyRectangularGradientAsBitmap() 1277 …_cast< sal_Int8 >( nRed ), static_cast< sal_Int8 >( nGreen ), static_cast< sal_Int8 >( nBlue ) ) ); in ApplyRectangularGradientAsBitmap()
|
H A D | svdfppt.cxx | 748 sal_uInt8 nDummy, nRed, nGreen, nBlue; in RecolorGraphic() local 759 >> nBlue in RecolorGraphic() 767 nBlue = aColor.GetBlue(); in RecolorGraphic() 769 nColor = nRed | ( nGreen << 8 ) | ( nBlue << 16 ); in RecolorGraphic() 776 >> nBlue; in RecolorGraphic() 777 nColor = nRed | ( nGreen << 8 ) | ( nBlue << 16 ); in RecolorGraphic()
|
/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/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()
|