Lines Matching refs:nY
120 for( long nY = 0L; nY < nHeight; nY++, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate() local
121 mpScanBuf[ nY ] = pTmpLine; in ImplCreate()
125 … for( long nY = nHeight - 1; nY >= 0; nY--, pTmpLine += mpBuffer->mnScanlineSize ) in ImplCreate() local
126 mpScanBuf[ nY ] = pTmpLine; in ImplCreate()
343 const sal_Int32 nY(static_cast< sal_Int32 >(fY)); in GetInterpolatedColorWithFallback() local
345 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback()
348 BitmapColor aRetval(GetColor(nY, nX)); in GetInterpolatedColorWithFallback()
352 sal_Int16 nDeltaY((fY - (nY + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback()
368 nIndY = nY + 1; in GetInterpolatedColorWithFallback()
372 nIndY = nY - 1; in GetInterpolatedColorWithFallback()
381 aXCol = GetColor(nY, nIndX); in GetInterpolatedColorWithFallback()
432 const sal_Int32 nY(static_cast< sal_Int32 >(fY)); in GetColorWithFallback() local
434 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
436 return GetColor(nY, nX); in GetColorWithFallback()
443 BitmapColor BitmapReadAccess::GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback … in GetColorWithFallback() argument
447 if(nX >= 0 && nY >= 0 && nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetColorWithFallback()
449 return GetColor(nY, nX); in GetColorWithFallback()
477 void BitmapWriteAccess::CopyScanline( long nY, const BitmapReadAccess& rReadAcc ) in CopyScanline() argument
479 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
480 DBG_ASSERT( nY < rReadAcc.Height(), "y-coordinate in source out of range!" ); in CopyScanline()
486 memcpy( mpScanBuf[ nY ], rReadAcc.GetScanline( nY ), rReadAcc.GetScanlineSize() ); in CopyScanline()
491 SetPixel( nY, nX, rReadAcc.GetPixel( nY, nX ) ); in CopyScanline()
496 void BitmapWriteAccess::CopyScanline( long nY, ConstScanline aSrcScanline, in CopyScanline() argument
501 …DBG_ASSERT( ( nY >= 0 ) && ( nY < mpBuffer->mnHeight ), "y-coordinate in destination out of range!… in CopyScanline()
511 memcpy( mpScanBuf[ nY ], aSrcScanline, nCount ); in CopyScanline()
551 SetPixel( nY, nX, pFncGetPixel( aSrcScanline, nX, aDummyMask ) ); in CopyScanline()
573 for( long nY = 0L, nHeight = Min( mpBuffer->mnHeight, rReadAcc.Height() ); nY < nHeight; nY++ ) in CopyBuffer() local
574 CopyScanline( nY, rReadAcc ); in CopyBuffer()