Home
last modified time | relevance | path

Searched refs:rPal (Results 1 – 25 of 50) sorted by relevance

12

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qt5/
H A DQt5Bitmap.cxx36 bool Qt5Bitmap::Create(const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal) in Create() argument
43 assert(2 >= rPal.GetEntryCount()); in Create()
45 assert(16 >= rPal.GetEntryCount()); in Create()
47 assert(256 >= rPal.GetEntryCount()); in Create()
71 m_aPalette = rPal; in Create()
73 auto count = rPal.GetEntryCount(); in Create()
78 aColorTable[i] = qRgb(rPal[i].GetRed(), rPal[i].GetGreen(), rPal[i].GetBlue()); in Create()
138 const BitmapPalette& rPal = pBitmap->m_aPalette; in Create() local
143 colorTable[i] = qRgb(rPal[i].GetRed(), rPal[i].GetGreen(), rPal[i].GetBlue()); in Create()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qt5/
H A DQt5Bitmap.cxx36 bool Qt5Bitmap::Create(const Size& rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette& rPal) in Create() argument
42 assert(2 >= rPal.GetEntryCount()); in Create()
44 assert(256 >= rPal.GetEntryCount()); in Create()
48 m_aPalette = rPal; in Create()
50 auto count = rPal.GetEntryCount(); in Create()
55 aColorTable[i] = qRgb(rPal[i].GetRed(), rPal[i].GetGreen(), rPal[i].GetBlue()); in Create()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/bitmap/
H A DBitmapSolarizeFilter.cxx27 const BitmapPalette& rPal = pWriteAcc->GetPalette(); in execute() local
29 for (sal_uInt16 i = 0, nCount = rPal.GetEntryCount(); i < nCount; i++) in execute()
31 if (rPal[i].GetLuminance() >= mcSolarGreyThreshold) in execute()
33 BitmapColor aCol(rPal[i]); in execute()
H A DBitmapSimpleColorQuantizationFilter.cxx46 const BitmapPalette& rPal = aOct.GetPalette(); in execute() local
48 aNewBmp = Bitmap(aBitmap.GetSizePixel(), nBitCount, &rPal); in execute()
H A DOctree.cxx223 InverseColorMap::InverseColorMap(const BitmapPalette& rPal) in InverseColorMap() argument
227 const int nColors = rPal.GetEntryCount(); in InverseColorMap()
237 const BitmapColor& rColor = rPal[static_cast<sal_uInt16>(nIndex)]; in InverseColorMap()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/
H A DBitmapSolarizeFilter.cxx27 const BitmapPalette& rPal = pWriteAcc->GetPalette(); in execute() local
29 for (sal_uInt16 i = 0, nCount = rPal.GetEntryCount(); i < nCount; i++) in execute()
31 if (rPal[i].GetLuminance() >= mcSolarGreyThreshold) in execute()
33 BitmapColor aCol(rPal[i]); in execute()
H A DBitmapSimpleColorQuantizationFilter.cxx43 const BitmapPalette& rPal = aOct.GetPalette(); in execute() local
45 aNewBmp = Bitmap(aBitmap.GetSizePixel(), ePixelFormat, &rPal); in execute()
H A DOctree.cxx223 InverseColorMap::InverseColorMap(const BitmapPalette& rPal) in InverseColorMap() argument
227 const int nColors = rPal.GetEntryCount(); in InverseColorMap()
237 const BitmapColor& rColor = rPal[static_cast<sal_uInt16>(nIndex)]; in InverseColorMap()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/unx/generic/gdi/
H A Dsalbmp.cxx117 const BitmapPalette& rPal) in ImplCreateDIB() argument
177 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 ] = COL_BLACK; in ImplCreateDIB()
301 rPal[ 1 ] = COL_WHITE; in ImplCreateDIB()
305 rPal.SetEntryCount( 256 ); in ImplCreateDIB()
306 pDstPal = &rPal; in ImplCreateDIB()
324 rPal.SetEntryCount( nCols ); in ImplCreateDIB()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/generic/gdi/
H A Dsalbmp.cxx123 const BitmapPalette& rPal) in ImplCreateDIB() argument
183 pDIB->maPalette = rPal; in ImplCreateDIB()
290 BitmapPalette& rPal = aSrcBuf.maPalette; in ImplCreateDIB() local
294 rPal.SetEntryCount( 2 ); in ImplCreateDIB()
295 pDstPal = &rPal; in ImplCreateDIB()
297 rPal[ 0 ] = COL_BLACK; in ImplCreateDIB()
298 rPal[ 1 ] = COL_WHITE; in ImplCreateDIB()
302 rPal.SetEntryCount( 256 ); in ImplCreateDIB()
303 pDstPal = &rPal; in ImplCreateDIB()
321 rPal.SetEntryCount( nCols ); in ImplCreateDIB()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/headless/
H A Dsvpbmp.cxx47 const BitmapPalette& rPal) in ImplCreateDIB() argument
116 pDIB->maPalette = rPal; in ImplCreateDIB()
156 bool SvpSalBitmap::Create(const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal) in Create() argument
159 mpDIB = ImplCreateDIB( rSize, nBitCount, rPal ); in Create()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/headless/
H A Dsvpbmp.cxx52 const BitmapPalette& rPal) in ImplCreateDIB() argument
112 pDIB->maPalette = rPal; in ImplCreateDIB()
152 …l SvpSalBitmap::Create(const Size& rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette& rPal) in Create() argument
155 mpDIB = ImplCreateDIB(rSize, ePixelFormat, rPal); in Create()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/excel/
H A Dread.cxx74 XclImpPalette& rPal = GetPalette(); in Read() local
348 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
420 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
459 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
531 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
594 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
810 XclImpPalette& rPal = GetPalette(); in Read() local
1030 case EXC_ID_PALETTE: rPal.ReadPalette( maStrm ); break; in Read()
1241 … case EXC_ID_SHEETEXT: rTabViewSett.ReadTabBgColor( maStrm, rPal ); break; in Read()
H A Dxeview.cxx266 XclExpPalette& rPal = rStrm.GetRoot().GetPalette(); in WriteBody() local
267 TabBgColorIndex = rPal.GetColorIndex(mrTabViewData.mnTabBgColorId); in WriteBody()
387 XclExpPalette& rPal = GetPalette(); in XclExpTabViewSettings() local
389 …maData.mnTabBgColorId = rPal.InsertColor(maData.maTabBgColor, EXC_COLOR_TABBG, EXC_COLOR_NOTABBG ); in XclExpTabViewSettings()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/excel/
H A Dread.cxx72 XclImpPalette& rPal = GetPalette(); in Read() local
346 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
418 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
457 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
529 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
592 case 0x92: rPal.ReadPalette( maStrm ); break; in Read()
807 XclImpPalette& rPal = GetPalette(); in Read() local
1027 case EXC_ID_PALETTE: rPal.ReadPalette( maStrm ); break; in Read()
1238 … case EXC_ID_SHEETEXT: rTabViewSett.ReadTabBgColor( maStrm, rPal ); break; in Read()
H A Dxeview.cxx266 XclExpPalette& rPal = rStrm.GetRoot().GetPalette(); in WriteBody() local
267 TabBgColorIndex = rPal.GetColorIndex(mrTabViewData.mnTabBgColorId); in WriteBody()
387 XclExpPalette& rPal = GetPalette(); in XclExpTabViewSettings() local
389 …maData.mnTabBgColorId = rPal.InsertColor(maData.maTabBgColor, EXC_COLOR_TABBG, EXC_COLOR_NOTABBG ); in XclExpTabViewSettings()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/win/
H A Dsalbmp.h55 … ImplCreateDIB( const Size& rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette& rPal );
67 … Create( const Size& rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette& rPal ) override;
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/win/
H A Dsalbmp.h55 …c HGLOBAL ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal );
69 … Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ) override;
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/unx/
H A Dsalbmp.h45 const BitmapPalette& rPal
118 const BitmapPalette& rPal
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/inc/
H A Dxiview.hxx75 void ReadTabBgColor( XclImpStream& rStrm, const XclImpPalette& rPal );
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/inc/
H A Dxiview.hxx76 void ReadTabBgColor( XclImpStream& rStrm, const XclImpPalette& rPal );
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/unx/
H A Dsalbmp.h45 const BitmapPalette& rPal
118 const BitmapPalette& rPal
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/outdev/
H A Dtransparent.cxx423 const BitmapPalette& rPal = pW->GetPalette(); in EmulateDrawTransparent() local
424 const sal_uInt16 nCount = rPal.GetEntryCount(); in EmulateDrawTransparent()
430 BitmapColor aCol( rPal[ i ] ); in EmulateDrawTransparent()
432 … pMap[ i ] = BitmapColor( static_cast<sal_uInt8>(rPal.GetBestIndex( aCol )) ); in EmulateDrawTransparent()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/bitmap/
H A DOctree.hxx75 explicit InverseColorMap(const BitmapPalette& rPal);
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/bitmap/
H A DOctree.hxx75 explicit InverseColorMap(const BitmapPalette& rPal);

12