/aoo41x/main/writerfilter/source/dmapper/ |
H A D | CellColorHandler.cxx | 218 sal_uInt32 nRed = ((nFore & 0xff0000)>>0x10) * nWW8BrushStyle; in getProperties() local 221 nRed += ((nBack & 0xff0000)>>0x10) * (1000L - nWW8BrushStyle); in getProperties() 225 nApplyColor = ( (nRed/1000) << 0x10 ) + ((nGreen/1000) << 8) + nBlue/1000; in getProperties()
|
/aoo41x/main/wizards/com/sun/star/wizards/ui/ |
H A D | UnoDialog.java | 1060 int nRed = getRedColorShare(nUIColor); in isHighContrastModeActivated() local 1063 int nLuminance = ((nBlue * 28 + nGreen * 151 + nRed * 77) / 256); in isHighContrastModeActivated() 1081 int nRed = _nColor / 65536; in getRedColorShare() local 1086 return nRed; in getRedColorShare() 1091 int nRed = _nColor / 65536; in getGreenColorShare() local 1099 int nRed = _nColor / 65536; in getBlueColorShare() local
|
/aoo41x/main/vcl/win/source/window/ |
H A D | salframe.cxx | 3009 BYTE nRed = (BYTE)(((sal_uInt16)aColor1.GetRed() + (sal_uInt16)aColor2.GetRed())/2); in UpdateSettings() local 3012 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in UpdateSettings()
|
/aoo41x/main/vcl/workben/ |
H A D | svptest.cxx | 277 sal_uInt8 nRed = (i << 6) & 0xC0; in Paint() local 280 SetTextColor( Color( nRed, nGreen, nBlue ) ); in Paint()
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salgdi.cxx | 237 BYTE nRed, nGreen, nBlue; in ImplInitSalGDI() local 259 for( nR=0, nRed=0; nR < DITHER_PAL_STEPS; nR++, nRed += DITHER_PAL_DELTA ) in ImplInitSalGDI() 261 pPalEntry->peRed = nRed; 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() 412 if ( aImplExtraColor1.peRed == nRed && in ImplIsPaletteEntry() 1193 BYTE nRed = SALCOLOR_RED( nSalColor ); in SetFillColor() local 1196 COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue ); in SetFillColor() 1236 *pTmp++ = DMAP( nRed, nThres ); in SetFillColor() 1247 else if ( ImplIsPaletteEntry( nRed, nGreen, nBlue ) ) in SetFillColor() [all …]
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | cdeint.cxx | 233 …sal_uInt8 nRed = (sal_uInt8)(((sal_uInt16)aColors[1].GetRed() + (sal_uInt16)aColor2.GetRed… in GetSystemLook() local 236 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in GetSystemLook()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pngread.cxx | 762 sal_uInt8 nRed = mpColorTable[ *maDataIter++ ]; in ImplReadPalette() local 765 mpAcc->SetPaletteColor( i, Color( nRed, nGreen, nBlue ) ); in ImplReadPalette() 916 sal_uInt8 nRed = ImplScaleColor(); in ImplGetBackground() local 919 mpAcc->Erase( Color( nRed, nGreen, nBlue ) ); in ImplGetBackground() 1502 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline() local 1505 sal_Bool bTransparent = ( ( nRed == mnTransRed ) in ImplDrawScanline() 1509 ImplSetTranspPixel( nY, nX, BitmapColor( mpColorTable[ nRed ], in ImplDrawScanline() 1519 sal_uInt8 nRed = pTmp[ 0 ]; in ImplDrawScanline() local 1522 sal_Bool bTransparent = ( ( nRed == mnTransRed ) in ImplDrawScanline() 1526 ImplSetTranspPixel( nY, nX, BitmapColor( mpColorTable[ nRed ], in ImplDrawScanline()
|
H A D | outdev4.cxx | 237 sal_uInt8 nRed; in ImplDrawLinearGradient() local 246 nRed = (sal_uInt8)nStartRed; in ImplDrawLinearGradient() 252 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient() 329 nRed = ImplGetGradientColorValue((long)fTempColor); in ImplDrawLinearGradient() 337 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient() 369 nRed = ImplGetGradientColorValue(nEndRed); 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() 625 nRed = ImplGetGradientColorValue( nEndRed ); in ImplDrawComplexGradient() [all …]
|
H A D | octree.cxx | 200 (*ppNode)->nRed += pColor->GetRed(); in ImplAdd() 239 nRedSum += pChild->nRed; in ImplReduce() 251 pNode->nRed = nRedSum; in ImplReduce() 264 aPal[ nPalIndex++ ] = BitmapColor( (sal_uInt8) ( (double) pNode->nRed / pNode->nCount ), in CreatePalette()
|
/aoo41x/main/vcl/source/app/ |
H A D | settings.cxx | 702 sal_uLong nRed = mpData->maLightColor.GetRed(); in Set3DColors() local 705 nRed += (sal_uLong)(mpData->maShadowColor.GetRed()); in Set3DColors() 708 …mpData->maCheckedColor = Color( (sal_uInt8)(nRed/2), (sal_uInt8)(nGreen/2), (sal_uInt8)(nBlue/2) ); in Set3DColors()
|
/aoo41x/main/vcl/os2/source/window/ |
H A D | salframe.cxx | 2194 PM_BYTE nRed = (PM_BYTE)(((USHORT)aColor1.GetRed() + (USHORT)aColor2.GetRed())/2); in UpdateSettings() local 2197 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in UpdateSettings()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | octree.hxx | 44 sal_uLong nRed; member
|
/aoo41x/main/vcl/inc/ |
H A D | impoct.hxx | 35 long nRed; member in ImpErrorQuad 44 nRed ( (long) rColor.GetRed() << 5L ), in ImpErrorQuad() 63 nRed = (long) rColor.GetRed() << 5L; in operator =() 72 nRed -= ( (long) rColor.GetRed() << 5L ); in operator -=() 83 nRed += ( rErrQuad.nRed >> 4L ); in ImplAddColorError1() 92 nRed += ( rErrQuad.nRed * 3L >> 4L ); in ImplAddColorError3() 101 nRed += ( rErrQuad.nRed * 5L >> 4L ); in ImplAddColorError5() 110 nRed += ( rErrQuad.nRed * 7L >> 4L ); in ImplAddColorError7() 119 return BitmapColor( (sal_uInt8) ( ( nRed < 0L ? 0L : nRed > 8160L ? 8160L : nRed ) >> 5L ), in ImplGetColor()
|
H A D | printergfx.hxx | 62 PrinterColor (sal_uInt16 nRed, sal_uInt16 nGreen, in PrinterColor() argument 64 mnRed (nRed), in PrinterColor()
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 630 sal_uInt8 nRed, nGreen, nBlue; in GetDefaultPalette() local 635 for( nR=0, nRed=0; nR < DITHER_PAL_STEPS; nR++, nRed += DITHER_PAL_DELTA ) in GetDefaultPalette() 637 aDefPalette256[ i ] = BitmapColor( nRed, nGreen, nBlue ); in GetDefaultPalette()
|
/aoo41x/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 489 sal_Int32 nRed = nCol; in OORGBToXLRGB() local 490 nRed &= 0x00FF0000; in OORGBToXLRGB() 491 nRed >>= 16; in OORGBToXLRGB() 497 sal_Int32 nRGB = ( nAutoBits | (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB() 512 sal_Int32 nRed = nCol; in XLRGBToOORGB() local 513 nRed &= 0x000000FF; in XLRGBToOORGB() 514 sal_Int32 nRGB = ( nAutoBits | (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB()
|
/aoo41x/main/tools/source/generic/ |
H A D | color.cxx | 348 sal_uInt16 nRed; in operator >>() local 361 nRed = 0; in operator >>() 383 nRed = cAry[i]; in operator >>() 384 nRed <<= 8; in operator >>() 386 nRed |= cAry[i]; in operator >>() 391 nRed = cAry[i]; in operator >>() 392 nRed <<= 8; in operator >>() 426 rIStream >> nRed; in operator >>() 489 nRed = (nRed<<8) + nRed; in operator <<() 498 if ( nRed & 0x00FF ) in operator <<() [all …]
|
/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() 137 void SetRed( sal_uInt8 nRed ); 196 inline void Color::SetRed( sal_uInt8 nRed ) in SetRed() argument 199 mnColor |= ((sal_uInt32)nRed)<<16; in SetRed()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8par6.cxx | 4803 sal_uInt32 nRed = aForeColor.GetRed() * nWW8BrushStyle; in SetShade() local 4806 nRed += aBackColor.GetRed() * (1000L - nWW8BrushStyle); in SetShade() 4810 aColor.SetColor( RGB_COLORDATA( nRed/1000, nGreen/1000, in SetShade()
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unotext.cxx | 1238 for (sal_uInt16 nRed = 0; nRed < nRedTblCount; nRed++) in getPropertyValue() local 1240 SwRedline const*const pRedline = rRedTbl[nRed]; in getPropertyValue()
|
H A D | unotbl.cxx | 296 for(sal_uInt16 nRed = 0; nRed < rRedTbl.Count(); nRed++) in lcl_GetSpecialProperty() local 298 const SwRedline* pRedline = rRedTbl[nRed]; in lcl_GetSpecialProperty()
|
H A D | unoportenum.cxx | 1093 for(sal_uInt16 nRed = 0; nRed < nRedTblCount; nRed++) in lcl_FillRedlineArray() local 1095 const SwRedline* pRedline = rRedTbl[nRed]; in lcl_FillRedlineArray()
|
H A D | unoredline.cxx | 300 for(sal_uInt16 nRed = 0; nRed < rRedTbl.Count() && !bFound; nRed++) in Validate() local 301 bFound = pRedline == rRedTbl[nRed]; in Validate()
|
H A D | unosect.cxx | 1216 for (sal_uInt16 nRed = 0; nRed < rRedTbl.Count(); nRed++) in GetPropertyValues_Impl() local 1218 const SwRedline* pRedline = rRedTbl[nRed]; in GetPropertyValues_Impl()
|
/aoo41x/main/sw/source/core/text/ |
H A D | redlnitr.cxx | 187 SwAttrHandler& rAH, MSHORT nRed, sal_Bool bShw, const SvUShorts *pArr, in SwRedlineItr() argument 190 nNdIdx( rTxtNd.GetIndex() ), nFirst( nRed ), in SwRedlineItr()
|