/aoo4110/main/vcl/unx/generic/gdi/ |
H A D | salbmp.cxx | 165 pDIB->maPalette = rPal; in ImplCreateDIB() 293 BitmapPalette& rPal = aSrcBuf.maPalette; in ImplCreateDIB() local 297 rPal.SetEntryCount( 2 ); in ImplCreateDIB() 298 pDstPal = &rPal; in ImplCreateDIB() 300 rPal[ 0 ] = Color( COL_BLACK ); in ImplCreateDIB() 301 rPal[ 1 ] = Color( COL_WHITE ); in ImplCreateDIB() 308 rPal.SetEntryCount( nCols ); in ImplCreateDIB() 309 pDstPal = &rPal; in ImplCreateDIB() 314 BitmapColor& rBmpCol = rPal[ i ]; in ImplCreateDIB() 685 bool X11SalBitmap::Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) in Create() argument [all …]
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | read.cxx | 53 XclImpPalette& rPal = GetPalette(); in Read() local 326 case 0x92: rPal.ReadPalette( maStrm ); break; in Read() 397 case 0x92: rPal.ReadPalette( maStrm ); break; in Read() 435 case 0x92: rPal.ReadPalette( maStrm ); break; in Read() 506 case 0x92: rPal.ReadPalette( maStrm ); break; in Read() 569 case 0x92: rPal.ReadPalette( maStrm ); break; in Read() 785 XclImpPalette& rPal = GetPalette(); in Read() local 992 case EXC_ID_PALETTE: rPal.ReadPalette( maStrm ); break; in Read() 1186 … case EXC_ID_SHEETEXT: rTabViewSett.ReadTabBgColor( maStrm, rPal ); break; in Read()
|
H A D | xeview.cxx | 277 XclExpPalette& rPal = rStrm.GetRoot().GetPalette(); in WriteBody() local 278 TabBgColorIndex = rPal.GetColorIndex(mrTabViewData.mnTabBgColorId); in WriteBody() 398 XclExpPalette& rPal = GetPalette(); in XclExpTabViewSettings() local 400 …maData.mnTabBgColorId = rPal.InsertColor(maData.maTabBgColor, EXC_COLOR_TABBG, EXC_COLOR_NOTABBG ); in XclExpTabViewSettings()
|
H A D | xichart.cxx | 265 const XclImpPalette& rPal = GetPalette(); in GetSeriesFillAutoColor() local 498 const XclImpPalette& rPal = rRoot.GetPalette(); in ReadChAreaFormat() local 499 maData.maPattColor = rPal.GetColor( rStrm.ReaduInt16() ); in ReadChAreaFormat() 500 maData.maBackColor = rPal.GetColor( rStrm.ReaduInt16()); in ReadChAreaFormat() 656 const XclImpPalette& rPal = GetPalette(); in UpdateObjFrame() local 662 aLineFmt.maColor = rPal.GetColor( rLineData.mnColorIdx ); in UpdateObjFrame() 1269 const XclImpPalette& rPal = rRoot.GetPalette(); in ReadChMarkerFormat() local 1270 maData.maLineColor = rPal.GetColor( rStrm.ReaduInt16() ); in ReadChMarkerFormat() 1271 maData.maFillColor = rPal.GetColor( rStrm.ReaduInt16() ); in ReadChMarkerFormat() 4193 XclImpPalette& rPal = GetPalette(); in ReadChartSubStream() local [all …]
|
H A D | xechart.cxx | 343 XclExpPalette& rPal = GetPalette(); in IsSystemColor() local 344 return rPal.IsSystemColor( nSysColorIdx ) && (rColor == rPal.GetDefColor( nSysColorIdx )); in IsSystemColor() 665 const XclExpPalette& rPal = rStrm.GetRoot().GetPalette(); in WriteBody() local 666 rStrm << rPal.GetColorIndex( mnPattColorId ) << rPal.GetColorIndex( mnBackColorId ); in WriteBody() 699 const XclExpPalette& rPal = GetPalette(); in Save() local 700 …maData.mxEscherSet->AddOpt( ESCHER_Prop_fillColor, 0x08000000 | rPal.GetColorIndex( mnColor1Id ) ); in Save() 701 …maData.mxEscherSet->AddOpt( ESCHER_Prop_fillBackColor, 0x08000000 | rPal.GetColorIndex( mnColor2Id… in Save() 1518 const XclExpPalette& rPal = rStrm.GetRoot().GetPalette(); in WriteBody() local 1519 …rStrm << rPal.GetColorIndex( mnLineColorId ) << rPal.GetColorIndex( mnFillColorId ) << maData.mnMa… in WriteBody()
|
H A D | xiview.cxx | 105 void XclImpTabViewSettings::ReadTabBgColor( XclImpStream& rStrm, XclImpPalette& rPal ) in ReadTabBgColor() argument 118 TabBgColor = rPal.GetColor( ColorIndex ); in ReadTabBgColor()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 524 const BitmapPalette& rPal = GetGreyPalette( nGreys ); in ImplMakeGreyscales() local 529 bPalDiffers = ( (BitmapPalette&) rPal != pReadAcc->GetPalette() ); in ImplMakeGreyscales() 533 Bitmap aNewBmp( GetSizePixel(), ( nGreys == 16 ) ? 4 : 8, &rPal ); in ImplMakeGreyscales() 2902 const BitmapPalette& rPal = aOct.GetPalette(); in ImplReduceSimple() local 2905 aNewBmp = Bitmap( GetSizePixel(), nBitCount, &rPal ); in ImplReduceSimple() 3210 void Bitmap::ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal, in ImplMedianCut() argument 3231 rPal[ (sal_uInt16) rIndex++ ] = aCol; in ImplMedianCut() 3261 rPal[ (sal_uInt16) rIndex++ ] = aCol; in ImplMedianCut() 3283 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG2, nB1, nB, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut() 3306 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG, nB1, nB2, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut() [all …]
|
H A D | octree.cxx | 296 InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) : in InverseColorMap() argument 304 const sal_uLong nColors = rPal.GetEntryCount(); in InverseColorMap() 316 const BitmapColor& rColor = rPal[ (sal_uInt16) nIndex ]; in InverseColorMap()
|
H A D | impbmp.cxx | 63 sal_Bool ImpBitmap::ImplCreate( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) in ImplCreate() argument 66 return mpSalBitmap->Create( rSize, nBitCount, rPal ); in ImplCreate()
|
H A D | bitmap4.cxx | 639 const BitmapPalette& rPal = pWriteAcc->GetPalette(); in ImplSolarize() local 641 for( sal_uInt16 i = 0, nCount = rPal.GetEntryCount(); i < nCount; i++ ) in ImplSolarize() 643 if( rPal[ i ].GetLuminance() >= cThreshold ) in ImplSolarize() 645 BitmapColor aCol( rPal[ i ] ); in ImplSolarize()
|
H A D | outdev6.cxx | 505 const BitmapPalette& rPal = pW->GetPalette(); in DrawTransparent() local 506 const sal_uInt16 nCount = rPal.GetEntryCount(); in DrawTransparent() 511 BitmapColor aCol( rPal[ i ] ); in DrawTransparent() 512 … pMap[ i ] = BitmapColor( (sal_uInt8) rPal.GetBestIndex( aCol.Merge( aFillCol, cTrans ) ) ); in DrawTransparent()
|
/aoo4110/main/vcl/os2/source/gdi/ |
H A D | salbmp.cxx | 126 bool Os2SalBitmap::Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal ) in Create() argument 130 mhDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create() 339 HANDLE Os2SalBitmap::ImplCreateDIB( const Size& rSize, USHORT nBits, const BitmapPalette& rPal ) in ImplCreateDIB() argument 375 const USHORT nMinCount = Min( nColors, rPal.GetEntryCount() ); in ImplCreateDIB() 378 memcpy( pBI->argbColor, rPal.ImplGetColorBuffer(), nMinCount * sizeof( RGB2 ) ); in ImplCreateDIB()
|
/aoo4110/main/vcl/win/source/gdi/ |
H A D | salbmp.cxx | 581 bool WinSalBitmap::Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) in Create() argument 585 mhDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create() 756 HGLOBAL WinSalBitmap::ImplCreateDIB( const Size& rSize, sal_uInt16 nBits, const BitmapPalette& rPal… in ImplCreateDIB() argument 801 const sal_uInt16 nMinCount = Min( nColors, rPal.GetEntryCount() ); in ImplCreateDIB() 803 memcpy( pBI->bmiColors, rPal.ImplGetColorBuffer(), nMinCount * sizeof(RGBQUAD) ); in ImplCreateDIB()
|
/aoo4110/main/vcl/inc/os2/ |
H A D | salbmp.h | 60 …tatic HANDLE ImplCreateDIB( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal ); 89 …virtual bool Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal…
|
/aoo4110/main/vcl/inc/win/ |
H A D | salbmp.h | 75 …static HGLOBAL ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal … 89 …l bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal );
|
/aoo4110/main/vcl/inc/unx/ |
H A D | salbmp.h | 51 const BitmapPalette& rPal ); 103 const BitmapPalette& rPal );
|
/aoo4110/main/sc/source/filter/inc/ |
H A D | xiview.hxx | 80 void ReadTabBgColor( XclImpStream& rStrm, XclImpPalette& rPal );
|
/aoo4110/main/vcl/inc/ |
H A D | salbmp.hxx | 45 const BitmapPalette& rPal ) = 0;
|
H A D | impbmp.hxx | 67 sal_Bool ImplCreate( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal );
|
/aoo4110/main/vcl/unx/headless/ |
H A D | svpbmp.hxx | 46 const BitmapPalette& rPal );
|
/aoo4110/main/vcl/inc/aqua/ |
H A D | salbmp.h | 74 bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal );
|
/aoo4110/main/vcl/inc/vcl/ |
H A D | octree.hxx | 142 explicit InverseColorMap( const BitmapPalette& rPal );
|
H A D | bitmap.hxx | 423 SAL_DLLPRIVATE void ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal,
|