Home
last modified time | relevance | path

Searched refs:maPalette (Results 1 – 17 of 17) sorted by relevance

/aoo41x/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx110 maPalette = rBitmapPalette; in Create()
142 maPalette = rSourceBitmap.maPalette; in Create()
146 … mnBits, mnBytesPerRow, maPalette, maUserBuffer.get(), rSourceBitmap.mnBits, rSourceBitmap.mnBytes… in Create()
200 else if( (mnBits == 8) && maPalette.IsGreyPalette() ) in CreateContext()
219 32, nContextBytesPerRow, maPalette, maContextBuffer.get(), in CreateContext()
220 mnBits, mnBytesPerRow, maPalette, maUserBuffer.get() ); in CreateContext()
670 pBuffer->maPalette = maPalette; in AcquireBuffer()
690 if( (mnBits <= 8) && !maPalette ) in AcquireBuffer()
691 pBuffer->maPalette = GetDefaultPalette( mnBits, true ); in AcquireBuffer()
703 maPalette = pBuffer->maPalette; in ReleaseBuffer()
[all …]
/aoo41x/main/vcl/source/gdi/
H A Dsalmisc.cxx96 BitmapPalette aColMap( rSrcBuffer.maPalette.GetEntryCount() ); in ImplPALToPAL()
100 …for( sal_uInt16 i = 0, nSrcCount = aColMap.GetEntryCount(), nDstCount = rDstBuffer.maPalette.GetEn… in ImplPALToPAL()
102 if( ( i < nDstCount ) && ( rSrcBuffer.maPalette[ i ] == rDstBuffer.maPalette[ i ] ) ) in ImplPALToPAL()
105 ….SetIndex( sal::static_int_cast<sal_uInt8>(rDstBuffer.maPalette.GetBestIndex( rSrcBuffer.maPalette in ImplPALToPAL()
130 const BitmapColor* pColBuf = rSrcBuffer.maPalette.ImplGetColorBuffer(); in ImplPALToTC()
251 BitmapPalette aColMap( rSrcBuffer.maPalette.GetEntryCount() ); in ImplTCToPAL()
264 …pColToPalMap[ ImplIndexFromColor( aCol ) ] = (sal_uInt8) rDstBuffer.maPalette.GetBestIndex( aCol ); in ImplTCToPAL()
385 pDstBuffer->maPalette = *pDstPal; in StretchAndConvert()
H A Dbmpfast.cxx613 if( rSrc.maPalette != rDst.maPalette ) in ImplFastBitmapConversion()
H A Dbmpacc.cxx333 return( HasPalette() ? mpBuffer->maPalette.GetBestIndex( rBitmapColor ) : 0 ); in GetBestPaletteIndex()
/aoo41x/main/vcl/inc/vcl/
H A Dbmpacc.hxx415 return( mpBuffer && !!mpBuffer->maPalette ); in HasPalette()
423 return mpBuffer->maPalette; in GetPalette()
431 return( HasPalette() ? mpBuffer->maPalette.GetEntryCount() : 0 ); in GetPaletteEntryCount()
440 return mpBuffer->maPalette[ nColor ]; in GetPaletteColor()
508 return mpBuffer->maPalette[ GetPixelIndex( nY, nX ) ]; in GetColor()
525 mpBuffer->maPalette = rPalette; in SetPalette()
533 mpBuffer->maPalette.SetEntryCount( nCount ); in SetPaletteEntryCount()
542 mpBuffer->maPalette[ nColor ] = rBitmapColor; in SetPaletteColor()
H A Dsalbtype.hxx272 BitmapPalette maPalette; member
/aoo41x/main/sc/source/filter/excel/
H A Dxestyle.cxx334 maPalette.reserve( nCount ); in XclExpPaletteImpl()
439 if( (nIndex1 >= maPalette.size()) || (nIndex2 >= maPalette.size()) ) in GetMixedColors()
478 if( nIdx < maPalette.size() ) in GetColorData()
495 …for( XclPaletteColorVec::const_iterator aIt = maPalette.begin(), aEnd = maPalette.end(); aIt != aE… in WriteBody()
501 if( !maPalette.size() ) in SaveXml()
507 …for( XclPaletteColorVec::const_iterator aIt = maPalette.begin(), aEnd = maPalette.end(); aIt != aE… in SaveXml()
519 return maPalette[ 0 ].maColor; in GetOriginalColor()
710 for( XclPaletteColorVec::const_iterator aIt = maPalette.begin(), aEnd = maPalette.end(); in GetNearestPaletteColor()
733 for( XclPaletteColorVec::const_iterator aIt = maPalette.begin(), aEnd = maPalette.end(); in GetNearPaletteColors()
741 rnFirst = aIt - maPalette.begin(); in GetNearPaletteColors()
[all …]
/aoo41x/main/vcl/unx/headless/
H A Dsvpbmp.cxx224 pBuf->maPalette = Bitmap::GetGreyPalette( 1U << nBitCount ); in AcquireBuffer()
233 pBuf->maPalette.SetEntryCount( nColors ); in AcquireBuffer()
237 … pBuf->maPalette[i] = BitmapColor( rCol.getRed(), rCol.getGreen(), rCol.getBlue() ); in AcquireBuffer()
250 if( !bReadOnly && pBuffer->maPalette.GetEntryCount() ) in ReleaseBuffer()
295 (sal_uInt32)pBuffer->maPalette.GetEntryCount(), in ReleaseBuffer()
299 const BitmapColor& rCol = pBuffer->maPalette[i]; in ReleaseBuffer()
/aoo41x/main/sc/source/ui/vba/
H A Dvbasheetobject.cxx55 maPalette( rPalette ), in ScVbaButtonCharacters()
118 return new ScVbaFont( this, mxContext, maPalette, mxPropSet, 0, true ); in getFont()
169 maPalette( rxModel ), in ScVbaSheetObjectBase()
450 return new ScVbaFont( this, mxContext, maPalette, mxControlProps, 0, true ); in getFont()
521 return new ScVbaButtonCharacters( this, mxContext, mxControlProps, maPalette, rStart, rLength ); in Characters()
H A Dvbasheetobject.hxx77 ScVbaPalette maPalette; member in ScVbaButtonCharacters
123 ScVbaPalette maPalette; member in ScVbaSheetObjectBase
/aoo41x/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx578 pBuffer->maPalette.SetEntryCount( nPalCount ); in AcquireBuffer()
581 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->argbColor, nPalCount * sizeof( RGB2 ) ); in AcquireBuffer()
613 if( !bReadOnly && !!pBuffer->maPalette ) in ReleaseBuffer()
617 const USHORT nCount = pBuffer->maPalette.GetEntryCount(); in ReleaseBuffer()
620 … memcpy( pBI->argbColor, pBuffer->maPalette.ImplGetColorBuffer(), nCount * sizeof( RGB2 ) ); in ReleaseBuffer()
/aoo41x/main/vcl/win/source/gdi/
H A Dsalbmp.cxx917 pBuffer->maPalette.SetEntryCount( nPalCount ); in AcquireBuffer()
918 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->bmiColors, nPalCount * sizeof( RGBQUAD ) ); in AcquireBuffer()
964 if( !bReadOnly && !!pBuffer->maPalette ) in ReleaseBuffer()
967 const sal_uInt16 nCount = pBuffer->maPalette.GetEntryCount(); in ReleaseBuffer()
969 …memcpy( pBI->bmiColors, pBuffer->maPalette.ImplGetColorBuffer(), Min( nDIBColorCount, nCount ) * s… in ReleaseBuffer()
/aoo41x/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx199 return ColorOf (mpBmpBuffer->maPalette[rColor.GetIndex()]); in ColorOf()
210 return GrayOf (mpBmpBuffer->maPalette[rColor.GetIndex()]); in GrayOf()
220 return mpBmpBuffer->maPalette.GetEntryCount (); in GetPaletteEntryCount()
226 return ColorOf (mpBmpBuffer->maPalette[nIdx]); in GetPaletteColor()
H A Dsalbmp.cxx165 pDIB->maPalette = rPal; in ImplCreateDIB()
166 pDIB->maPalette.SetEntryCount( nColors ); in ImplCreateDIB()
293 BitmapPalette& rPal = aSrcBuf.maPalette; in ImplCreateDIB()
/aoo41x/main/vcl/inc/aqua/
H A Dsalbmp.h59 BitmapPalette maPalette; member in AquaSalBitmap
/aoo41x/main/oox/source/xls/
H A Dstylesbuffer.cxx3153 maPalette( rHelper ), in StylesBuffer()
3214 maPalette.importPaletteColor( rAttribs ); in importPaletteColor()
3229 maPalette.importPaletteColor( rStrm ); in importPaletteColor()
3244 maPalette.importPalette( rStrm ); in importPalette()
3296 maPalette.importPalette( rPalette ); in importPalette()
3321 return maPalette.getColor( nPaletteIdx ); in getPaletteColor()
/aoo41x/main/oox/inc/oox/xls/
H A Dstylesbuffer.hxx1082 ColorPalette maPalette; /// Color palette. member in oox::xls::StylesBuffer

Completed in 99 milliseconds