Lines Matching refs:mpBuffer

40 			mpBuffer		( NULL ),  in BitmapReadAccess()
52 mpBuffer ( NULL ), in BitmapReadAccess()
89 mpBuffer = pImpBmp->ImplAcquireBuffer( !mbModify ); in ImplCreate()
91 if( !mpBuffer ) in ImplCreate()
99 mpBuffer = pImpBmp->ImplAcquireBuffer( !mbModify ); in ImplCreate()
105 if( mpBuffer ) in ImplCreate()
107 const long nHeight = mpBuffer->mnHeight; in ImplCreate()
108 Scanline pTmpLine = mpBuffer->mpBits; in ImplCreate()
111 maColorMask = mpBuffer->maColorMask; in ImplCreate()
113 if( BMP_SCANLINE_ADJUSTMENT( mpBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) in ImplCreate()
115 for( long nY = 0L; nY < nHeight; nY++, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate()
120 for( long nY = nHeight - 1; nY >= 0; nY--, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate()
124 if( !ImplSetAccessPointers( BMP_SCANLINE_FORMAT( mpBuffer->mnFormat ) ) ) in ImplCreate()
129 pImpBmp->ImplReleaseBuffer( mpBuffer, !mbModify ); in ImplCreate()
130 mpBuffer = NULL; in ImplCreate()
147 if( mpBuffer && pImpBmp ) in ImplDestroy()
149 pImpBmp->ImplReleaseBuffer( mpBuffer, !mbModify ); in ImplDestroy()
150 mpBuffer = NULL; in ImplDestroy()
310 DBG_ASSERT( !mpBuffer, "No ReAccess possible while bitmap is being accessed!" ); in ReAccess()
313 if( !mpBuffer && pImpBmp && ( pImpBmp->ImplGetRefCount() > 1UL ) ) in ReAccess()
324 return( HasPalette() ? mpBuffer->maPalette.GetBestIndex( rBitmapColor ) : 0 ); in GetBestPaletteIndex()
331 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetInterpolatedColorWithFallback()
336 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback()
370 if(nDeltaX && nIndX >= 0 && nIndX < mpBuffer->mnWidth) in GetInterpolatedColorWithFallback()
378 if(nDeltaY && nIndY >= 0 && nIndY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback()
386 …(nDeltaX && nDeltaY && nIndX >=0 && nIndY >= 0 && nIndX < mpBuffer->mnWidth && nIndY < mpBuffer->m… in GetInterpolatedColorWithFallback()
420 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetColorWithFallback()
425 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
436 if(mpBuffer) in GetColorWithFallback()
438 if(nX >= 0 && nY >= 0 && nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
470 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
481 for( long nX = 0L, nWidth = Min( mpBuffer->mnWidth, rReadAcc.Width() ); nX < nWidth; nX++ ) in CopyScanline()
492 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
541 for( long nX = 0L, nWidth = mpBuffer->mnWidth; nX < nWidth; nX++ ) in CopyScanline()
558 const long nHeight = Min( mpBuffer->mnHeight, rReadAcc.Height() ); in CopyBuffer()
559 const sal_uLong nCount = nHeight * mpBuffer->mnScanlineSize; in CopyBuffer()
561 memcpy( mpBuffer->mpBits, rReadAcc.GetBuffer(), nCount ); in CopyBuffer()
564 for( long nY = 0L, nHeight = Min( mpBuffer->mnHeight, rReadAcc.Height() ); nY < nHeight; nY++ ) in CopyBuffer()