/aoo41x/main/writerfilter/source/dmapper/ |
H A D | CellColorHandler.cxx | 219 sal_uInt32 nGreen = ((nFore & 0xff00)>>0x8) * nWW8BrushStyle; in getProperties() local 222 nGreen += ((nBack & 0xff00)>>0x8)* (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 | 1061 int nGreen = getGreenColorShare(nUIColor); in isHighContrastModeActivated() local 1063 int nLuminance = ((nBlue * 28 + nGreen * 151 + nRed * 77) / 256); in isHighContrastModeActivated() 1083 int nGreen = nRedModulo / 256; in getRedColorShare() local 1093 int nGreen = nRedModulo / 256; in getGreenColorShare() local 1094 return nGreen; in getGreenColorShare() 1101 int nGreen = nRedModulo / 256; in getBlueColorShare() local
|
/aoo41x/main/vcl/win/source/window/ |
H A D | salframe.cxx | 3010 … BYTE nGreen = (BYTE)(((sal_uInt16)aColor1.GetGreen() + (sal_uInt16)aColor2.GetGreen())/2); in UpdateSettings() local 3012 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in UpdateSettings()
|
/aoo41x/main/vcl/workben/ |
H A D | svptest.cxx | 278 sal_uInt8 nGreen = (i << 4) & 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 257 for( nG=0, nGreen=0; nG < DITHER_PAL_STEPS; nG++, nGreen += DITHER_PAL_DELTA ) in ImplInitSalGDI() 262 pPalEntry->peGreen = nGreen; 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() 413 aImplExtraColor1.peGreen == nGreen && in ImplIsPaletteEntry() 1194 BYTE nGreen = SALCOLOR_GREEN( nSalColor ); in SetFillColor() local 1196 COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue ); in SetFillColor() 1235 *pTmp++ = DMAP( nGreen, nThres ); in SetFillColor() 1247 else if ( ImplIsPaletteEntry( nRed, nGreen, nBlue ) ) in SetFillColor() [all …]
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | cdeint.cxx | 234 …sal_uInt8 nGreen = (sal_uInt8)(((sal_uInt16)aColors[1].GetGreen() + (sal_uInt16)aColor2.GetGre… in GetSystemLook() local 236 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in GetSystemLook()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pngread.cxx | 763 sal_uInt8 nGreen = mpColorTable[ *maDataIter++ ]; in ImplReadPalette() local 765 mpAcc->SetPaletteColor( i, Color( nRed, nGreen, nBlue ) ); in ImplReadPalette() 917 sal_uInt8 nGreen = ImplScaleColor(); in ImplGetBackground() local 919 mpAcc->Erase( Color( nRed, nGreen, nBlue ) ); in ImplGetBackground() 1503 sal_uInt8 nGreen = pTmp[ 1 ]; in ImplDrawScanline() local 1506 && ( nGreen == mnTransGreen ) in ImplDrawScanline() 1510 mpColorTable[ nGreen ], in ImplDrawScanline() 1520 sal_uInt8 nGreen = pTmp[ 2 ]; in ImplDrawScanline() local 1523 && ( nGreen == mnTransGreen ) in ImplDrawScanline() 1527 mpColorTable[ nGreen ], in ImplDrawScanline()
|
H A D | outdev4.cxx | 238 sal_uInt8 nGreen; in ImplDrawLinearGradient() local 247 nGreen = (sal_uInt8)nStartGreen; in ImplDrawLinearGradient() 252 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient() 331 nGreen = ImplGetGradientColorValue((long)fTempColor); in ImplDrawLinearGradient() 337 mpGraphics->SetFillColor( MAKE_SALCOLOR( nRed, nGreen, nBlue ) ); in ImplDrawLinearGradient() 370 nGreen = ImplGetGradientColorValue(nEndGreen); 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() 626 nGreen = ImplGetGradientColorValue( nEndGreen ); in ImplDrawComplexGradient() [all …]
|
H A D | octree.cxx | 201 (*ppNode)->nGreen += pColor->GetGreen(); in ImplAdd() 240 nGreenSum += pChild->nGreen; in ImplReduce() 252 pNode->nGreen = nGreenSum; in ImplReduce() 265 (sal_uInt8) ( (double) pNode->nGreen / pNode->nCount ), in CreatePalette()
|
/aoo41x/main/vcl/source/app/ |
H A D | settings.cxx | 703 sal_uLong nGreen = mpData->maLightColor.GetGreen(); in Set3DColors() local 706 nGreen += (sal_uLong)(mpData->maShadowColor.GetGreen()); 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 | 2195 PM_BYTE nGreen = (PM_BYTE)(((USHORT)aColor1.GetGreen() + (USHORT)aColor2.GetGreen())/2); in UpdateSettings() local 2197 aStyleSettings.SetCheckedColor( Color( nRed, nGreen, nBlue ) ); in UpdateSettings()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | octree.hxx | 45 sal_uLong nGreen; member
|
/aoo41x/main/vcl/inc/ |
H A D | impoct.hxx | 36 long nGreen; member in ImpErrorQuad 45 nGreen ( (long) rColor.GetGreen() << 5L ), in ImpErrorQuad() 64 nGreen = (long) rColor.GetGreen() << 5L; in operator =() 73 nGreen -= ( (long) rColor.GetGreen() << 5L ); in operator -=() 84 nGreen += ( rErrQuad.nGreen >> 4L ); in ImplAddColorError1() 93 nGreen += ( rErrQuad.nGreen * 3L >> 4L ); in ImplAddColorError3() 102 nGreen += ( rErrQuad.nGreen * 5L >> 4L ); in ImplAddColorError5() 111 nGreen += ( rErrQuad.nGreen * 7L >> 4L ); in ImplAddColorError7() 120 (sal_uInt8) ( ( nGreen < 0L ? 0L : nGreen > 8160L ? 8160L : nGreen ) >> 5L ), in ImplGetColor()
|
H A D | printergfx.hxx | 62 PrinterColor (sal_uInt16 nRed, sal_uInt16 nGreen, in PrinterColor() argument 65 mnGreen (nGreen), in PrinterColor()
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 630 sal_uInt8 nRed, nGreen, nBlue; in GetDefaultPalette() local 633 for( nG=0, nGreen=0; nG < DITHER_PAL_STEPS; nG++, nGreen += DITHER_PAL_DELTA ) in GetDefaultPalette() 637 aDefPalette256[ i ] = BitmapColor( nRed, nGreen, nBlue ); in GetDefaultPalette()
|
/aoo41x/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 492 sal_Int32 nGreen = nCol; in OORGBToXLRGB() local 493 nGreen &= 0x0000FF00; in OORGBToXLRGB() 494 nGreen >>= 8; in OORGBToXLRGB() 497 sal_Int32 nRGB = ( nAutoBits | (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB() 509 sal_Int32 nGreen = nCol; in XLRGBToOORGB() local 510 nGreen &= 0x0000FF00; in XLRGBToOORGB() 511 nGreen >>= 8; in XLRGBToOORGB() 514 sal_Int32 nRGB = ( nAutoBits | (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB()
|
/aoo41x/main/tools/source/generic/ |
H A D | color.cxx | 349 sal_uInt16 nGreen; in operator >>() local 362 nGreen = 0; in operator >>() 397 nGreen = cAry[i]; in operator >>() 398 nGreen <<= 8; in operator >>() 400 nGreen |= cAry[i]; in operator >>() 405 nGreen = cAry[i]; in operator >>() 406 nGreen <<= 8; in operator >>() 427 rIStream >> nGreen; in operator >>() 490 nGreen = (nGreen<<8) + nGreen; in operator <<() 512 if ( nGreen & 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() 139 void SetGreen( sal_uInt8 nGreen ); 202 inline void Color::SetGreen( sal_uInt8 nGreen ) in SetGreen() argument 205 mnColor |= ((sal_uInt16)nGreen)<<8; in SetGreen()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8par6.cxx | 4804 sal_uInt32 nGreen = aForeColor.GetGreen() * nWW8BrushStyle; in SetShade() local 4807 nGreen += aBackColor.GetGreen()* (1000L - nWW8BrushStyle); in SetShade() 4810 aColor.SetColor( RGB_COLORDATA( nRed/1000, nGreen/1000, in SetShade()
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | xattr.cxx | 3596 sal_uInt16 nGreen; in XFillGradientItem() local 3603 rIn >> nGreen; in XFillGradientItem() 3606 aCol = Color( (sal_uInt8)( nRed >> 8 ), (sal_uInt8)( nGreen >> 8 ), (sal_uInt8)( nBlue >> 8 ) ); in XFillGradientItem() 3610 rIn >> nGreen; in XFillGradientItem() 3612 aCol = Color( (sal_uInt8)( nRed >> 8 ), (sal_uInt8)( nGreen >> 8 ), (sal_uInt8)( nBlue >> 8 ) ); in XFillGradientItem() 4331 sal_uInt16 nGreen; in XFillHatchItem() local 4338 rIn >> nGreen; in XFillHatchItem() 4342 aCol = Color( (sal_uInt8)( nRed >> 8 ), (sal_uInt8)( nGreen >> 8 ), (sal_uInt8)( nBlue >> 8 ) ); in XFillHatchItem()
|
/aoo41x/main/svx/source/sidebar/graphic/ |
H A D | GraphicPropertyPanel.cxx | 259 const sal_Int16 nGreen = mpMtrGreen->GetValue(); in IMPL_LINK() local 260 const SfxInt16Item aGreenItem( SID_ATTR_GRAF_GREEN, nGreen ); in IMPL_LINK() 470 const sal_Int64 nGreen = pItem->GetValue(); in NotifyItemUpdate() local 471 mpMtrGreen->SetValue( nGreen ); in NotifyItemUpdate()
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 639 sal_uInt32 nRed = 0, nGreen = 0, nBlue = 0, nCount = 1; in ReadRecordParams() local 655 nGreen += aColor.GetGreen(); in ReadRecordParams() 664 …Color aColor( (sal_uInt8)( nRed / nCount ), (sal_uInt8)( nGreen / nCount ), (sal_uInt8)( nBlue / n… in ReadRecordParams()
|
H A D | enhwmf.cxx | 1305 sal_uInt32 nRed = 0, nGreen = 0, nBlue = 0, nCount = 1; in ReadEnhWMF() local 1325 nGreen += aColor.GetGreen(); in ReadEnhWMF() 1334 …Color aColor( (sal_Char)( nRed / nCount ), (sal_Char)( nGreen / nCount ), (sal_Char)( nBlue / nCou… in ReadEnhWMF()
|
/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 );
|
/aoo41x/main/slideshow/source/engine/shapes/ |
H A D | shapeimporter.cxx | 389 sal_Int16 nGreen(0); in createShape() local 399 getPropertyValue( nGreen, xPropSet, OUSTR("AdjustGreen") ); in createShape() 410 aGraphAttrs.SetChannelG( nGreen ); in createShape()
|