Lines Matching refs:nY

115 				for( long nY = 0L; nY < nHeight; nY++, pTmpLine += mpBuffer->mnScanlineSize )  in ImplCreate()  local
116 mpScanBuf[ nY ] = pTmpLine; in ImplCreate()
120 for( long nY = nHeight - 1; nY >= 0; nY--, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate() local
121 mpScanBuf[ nY ] = pTmpLine; in ImplCreate()
334 const sal_Int32 nY(static_cast< sal_Int32 >(fY)); in GetInterpolatedColorWithFallback() local
336 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback()
339 BitmapColor aRetval(GetColor(nY, nX)); in GetInterpolatedColorWithFallback()
343 sal_Int16 nDeltaY((fY - (nY + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback()
359 nIndY = nY + 1; in GetInterpolatedColorWithFallback()
363 nIndY = nY - 1; in GetInterpolatedColorWithFallback()
372 aXCol = GetColor(nY, nIndX); in GetInterpolatedColorWithFallback()
423 const sal_Int32 nY(static_cast< sal_Int32 >(fY)); in GetColorWithFallback() local
425 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
427 return GetColor(nY, nX); in GetColorWithFallback()
434 BitmapColor BitmapReadAccess::GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback … in GetColorWithFallback() argument
438 if(nX >= 0 && nY >= 0 && nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
440 return GetColor(nY, nX); in GetColorWithFallback()
468 void BitmapWriteAccess::CopyScanline( long nY, const BitmapReadAccess& rReadAcc ) in CopyScanline() argument
470 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
471 DBG_ASSERT( nY < rReadAcc.Height(), "y-coordinate in source out of range!" ); in CopyScanline()
477 memcpy( mpScanBuf[ nY ], rReadAcc.GetScanline( nY ), rReadAcc.GetScanlineSize() ); in CopyScanline()
482 SetPixel( nY, nX, rReadAcc.GetPixel( nY, nX ) ); in CopyScanline()
487 void BitmapWriteAccess::CopyScanline( long nY, ConstScanline aSrcScanline, in CopyScanline() argument
492 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
502 memcpy( mpScanBuf[ nY ], aSrcScanline, nCount ); in CopyScanline()
542 SetPixel( nY, nX, pFncGetPixel( aSrcScanline, nX, aDummyMask ) ); in CopyScanline()
564 for( long nY = 0L, nHeight = Min( mpBuffer->mnHeight, rReadAcc.Height() ); nY < nHeight; nY++ ) in CopyBuffer() local
565 CopyScanline( nY, rReadAcc ); in CopyBuffer()