Home
last modified time | relevance | path

Searched refs:nColorCount (Results 1 – 25 of 29) sorted by relevance

12

/trunk/main/vcl/source/gdi/
H A Dbitmap.cxx1684 long* pMinR = new long[ nColorCount ]; in Replace()
1685 long* pMaxR = new long[ nColorCount ]; in Replace()
1686 long* pMinG = new long[ nColorCount ]; in Replace()
1687 long* pMaxG = new long[ nColorCount ]; in Replace()
1688 long* pMinB = new long[ nColorCount ]; in Replace()
1689 long* pMaxB = new long[ nColorCount ]; in Replace()
1695 pTols = new long[ nColorCount ]; in Replace()
1701 for( i = 0UL; i < nColorCount; i++ ) in Replace()
1720 for( i = 0UL; i < nColorCount; i++ ) in Replace()
1737 for( i = 0UL; i < nColorCount; i++ ) in Replace()
[all …]
H A Dalpha.cxx397 sal_uLong nColorCount, sal_uLong* pTols ) in Replace() argument
399 Color* pSearchColors = new Color[ nColorCount ]; in Replace()
400 Color* pReplaceColors = new Color[ nColorCount ]; in Replace()
403 for( sal_uLong i = 0; i < nColorCount; i++ ) in Replace()
412 bRet = Bitmap::Replace( pSearchColors, pReplaceColors, nColorCount, pTols ) && in Replace()
H A Dimage.cxx289 sal_uLong nColorCount = 0; in GetColorTransformedImage() local
291 Image::GetColorTransformArrays( eColorTransform, pSrcColors, pDstColors, nColorCount ); in GetColorTransformedImage()
293 if( nColorCount && pSrcColors && pDstColors ) in GetColorTransformedImage()
295 aBmpEx.Replace( pSrcColors, pDstColors, nColorCount ); in GetColorTransformedImage()
642 sal_uLong nColorCount) in InsertFromHorizontalBitmap() argument
652 if ( nColorCount && pSearchColors && pReplaceColors ) in InsertFromHorizontalBitmap()
653 aBmpEx.Replace( pSearchColors, pReplaceColors, nColorCount ); in InsertFromHorizontalBitmap()
H A Dgdimtf.cxx2408 …rs( const Color* pSearchColors, const Color* pReplaceColors, sal_uLong nColorCount, sal_uLong* pTo… in ReplaceColors() argument
2413 aColParam.pMinR = new sal_uLong[ nColorCount ]; in ReplaceColors()
2414 aColParam.pMaxR = new sal_uLong[ nColorCount ]; in ReplaceColors()
2415 aColParam.pMinG = new sal_uLong[ nColorCount ]; in ReplaceColors()
2416 aColParam.pMaxG = new sal_uLong[ nColorCount ]; in ReplaceColors()
2417 aColParam.pMinB = new sal_uLong[ nColorCount ]; in ReplaceColors()
2418 aColParam.pMaxB = new sal_uLong[ nColorCount ]; in ReplaceColors()
2420 for( sal_uLong i = 0; i < nColorCount; i++ ) in ReplaceColors()
2439 aColParam.nCount = nColorCount; in ReplaceColors()
2443 aBmpParam.nCount = nColorCount; in ReplaceColors()
H A Dbitmap3.cxx2861 sal_Bool Bitmap::ReduceColors( sal_uInt16 nColorCount, BmpReduce eReduce ) in ReduceColors() argument
2865 if( GetColorCount() <= (sal_uLong) nColorCount ) in ReduceColors()
2867 else if( nColorCount ) in ReduceColors()
2870 bRet = ImplReduceSimple( nColorCount ); in ReduceColors()
2872 bRet = ImplReducePopular( nColorCount ); in ReduceColors()
2874 bRet = ImplReduceMedian( nColorCount ); in ReduceColors()
2884 sal_Bool Bitmap::ImplReduceSimple( sal_uInt16 nColorCount ) in ImplReduceSimple() argument
2888 const sal_uInt16 nColCount = Min( nColorCount, (sal_uInt16) 256 ); in ImplReduceSimple()
H A Dimpimage.cxx338 …lImageBmp::ReplaceColors( const Color* pSrcColors, const Color* pDstColors, sal_uLong nColorCount ) in ReplaceColors() argument
340 maBmpEx.Replace( pSrcColors, pDstColors, nColorCount ); in ReplaceColors()
H A Dimpvect.cxx755 const sal_uInt16 nColorCount = pRAcc->GetPaletteEntryCount(); in ImplVectorize() local
763 for( n = 0; n < nColorCount; n++ ) in ImplVectorize()
/trunk/main/sc/source/ui/miscdlgs/
H A Dtabbgcolordlg.cxx109 long nColorCount(0); in FillColorValueSets_Impl() local
113 nColorCount = aColorTable->Count(); in FillColorValueSets_Impl()
120 if(nColorCount) in FillColorValueSets_Impl()
128 const Size aNewSize(aTabBgColorSet.layoutAllVisible(nColorCount)); in FillColorValueSets_Impl()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShape2d.cxx2019 if ( nColorCount ) in AdaptObjColor()
2023 std::min(nColorIndex, nColorCount-1) ); in AdaptObjColor()
2031 if ( nColorCount ) in AdaptObjColor()
2036 std::min(nColorIndex, nColorCount-1) )); in AdaptObjColor()
2040 std::min(nColorIndex, nColorCount-1) )); in AdaptObjColor()
2049 if ( nColorCount ) in AdaptObjColor()
2054 std::min(nColorIndex, nColorCount-1) )); in AdaptObjColor()
2062 if ( nColorCount ) in AdaptObjColor()
2068 std::min(nColorIndex, nColorCount-1)))); in AdaptObjColor()
2077 if ( nColorIndex < nColorCount ) in AdaptObjColor()
[all …]
/trunk/main/svx/source/sidebar/tools/
H A DColorControl.cxx126 const long nColorCount(aColorTable->Count()); in FillColors() local
127 if (nColorCount <= 0) in FillColors()
142 const Size aNewSize(maVSColor.layoutAllVisible(nColorCount)); in FillColors()
/trunk/main/svx/inc/svx/
H A Dsvimbase.hxx128 const sal_uIntPtr nColorCount = 256,
143 const sal_uIntPtr nColorCount = 256,
184 sal_Bool CreateOutBitmap( const sal_uIntPtr nColorCount = 256, sal_uIntPtr nLast = 0,
/trunk/main/vcl/inc/vcl/
H A Dbitmap.hxx420 SAL_DLLPRIVATE sal_Bool ImplReduceSimple( sal_uInt16 nColorCount );
421 SAL_DLLPRIVATE sal_Bool ImplReducePopular( sal_uInt16 nColorCount );
422 SAL_DLLPRIVATE sal_Bool ImplReduceMedian( sal_uInt16 nColorCount );
787 sal_uLong nColorCount, sal_uLong* pTols = NULL );
H A Dalpha.hxx92 sal_uLong nColorCount, sal_uLong* pTols = NULL );
H A Dimage.hxx124 sal_uLong nColorCount = 0);
H A Dbitmapex.hxx318 sal_uLong nColorCount, const sal_uLong* pTols = NULL );
H A Dgdimtf.hxx178 sal_uLong nColorCount, sal_uLong* pTols = NULL );
/trunk/main/oox/source/drawingml/
H A Dfillproperties.cxx217 size_t nColorCount = maGradientProps.maGradientStops.size(); in pushToPropMap() local
218 if( nColorCount > 1 ) in pushToPropMap()
246 … bool bAxial = (nColorCount == 3) && (aGradient.StartColor == aGradient.EndColor); in pushToPropMap()
/trunk/main/svtools/source/filter/
H A Dfilter.cxx1885 sal_uLong nColorCount,nBitsPerPixel,nNeededMem,nMaxMem; in ExportGraphic() local
1900 nColorCount=aVirDev.GetColorCount(); in ExportGraphic()
1901 if (nColorCount<=2) nBitsPerPixel=1; in ExportGraphic()
1902 else if (nColorCount<=4) nBitsPerPixel=2; in ExportGraphic()
1903 else if (nColorCount<=16) nBitsPerPixel=4; in ExportGraphic()
1904 else if (nColorCount<=256) nBitsPerPixel=8; in ExportGraphic()
1905 else if (nColorCount<=65536) nBitsPerPixel=16; in ExportGraphic()
/trunk/main/svx/source/tbxctrls/
H A DSvxColorValueSet.cxx66 const sal_uInt32 nColorCount(aXColorList ? aXColorList->Count() : 0); in addEntriesForXColorList() local
68 for(sal_uInt32 nIndex(0); nIndex < nColorCount; nIndex++, nStartIndex++) in addEntriesForXColorList()
H A Dtbcontrl.cxx873 const long nColorCount(aColorTable->Count()); in SvxColorWindow_Impl() local
874 const Size aNewSize(aColorSet.layoutAllVisible(nColorCount)); in SvxColorWindow_Impl()
997 const long nColorCount(aColorTable->Count()); in StateChanged() local
998 const Size aNewSize(aColorSet.layoutAllVisible(nColorCount)); in StateChanged()
/trunk/main/cui/source/options/
H A Doptcolor.cxx826 sal_Int32 nColorCount = aExtConfig.GetComponentColorCount(sComponentName); in ColorConfigWindow_Impl() local
827 for (sal_Int32 i = 0; i < nColorCount; ++i,++nLineNum) in ColorConfigWindow_Impl()
1242 sal_Int32 nColorCount = pExtColorConfig->GetComponentColorCount(sComponentName); in Update() local
1244 for( sal_Int32 k = 0; i < nCount && k < nColorCount; ++i ,++nPos,++k) in Update()
1479 sal_Int32 nColorCount = pExtColorConfig->GetComponentColorCount(sComponentName); in IMPL_LINK() local
1481 for( sal_Int32 k = 0; i < nCount && k < nColorCount; ++i ,++nPos,++k) in IMPL_LINK()
/trunk/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx538 const USHORT nColorCount = ImplGetDIBColorCount( hNewDIB ); in AcquireBuffer() local
539 const ULONG nOffset = *(ULONG*) pBI + nColorCount * sizeof( RGB2 ); in AcquireBuffer()
/trunk/main/cui/source/tabpages/
H A Dbackgrnd.cxx1201 long nColorCount(0); in FillColorValueSets_Impl() local
1215 nColorCount = aColorTable->Count(); in FillColorValueSets_Impl()
1231 …izeContent(aBackgroundColorSet.layoutToGivenHeight(aCurrentSizeContent.Height() - 4, nColorCount)); in FillColorValueSets_Impl()
/trunk/main/vcl/inc/
H A Dimage.h51 … ReplaceColors( const Color* pSrcColors, const Color* pDstColors, sal_uIntPtr nColorCount );
/trunk/main/vcl/win/source/gdi/
H A Dsalbmp.cxx877 const sal_uInt16 nColorCount = ImplGetDIBColorCount( hNewDIB ); in AcquireBuffer() local
878 const sal_uLong nOffset = *(DWORD*) pBI + nColorCount * sizeof( RGBQUAD ); in AcquireBuffer()

Completed in 169 milliseconds

12