Lines Matching refs:nX
342 const sal_Int32 nX(static_cast< sal_Int32 >(fX)); in GetInterpolatedColorWithFallback() local
345 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback()
348 BitmapColor aRetval(GetColor(nY, nX)); in GetInterpolatedColorWithFallback()
351 sal_Int16 nDeltaX((fX - (nX + 0.5)) * 255.0); // [-255 .. 255] in GetInterpolatedColorWithFallback()
358 nIndX = nX + 1; in GetInterpolatedColorWithFallback()
362 nIndX = nX - 1; in GetInterpolatedColorWithFallback()
389 aYCol = GetColor(nIndY, nX); in GetInterpolatedColorWithFallback()
431 const sal_Int32 nX(static_cast< sal_Int32 >(fX)); 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()
490 for( long nX = 0L, nWidth = Min( mpBuffer->mnWidth, rReadAcc.Width() ); nX < nWidth; nX++ ) in CopyScanline() local
491 SetPixel( nY, nX, rReadAcc.GetPixel( nY, nX ) ); in CopyScanline()
550 for( long nX = 0L, nWidth = mpBuffer->mnWidth; nX < nWidth; nX++ ) in CopyScanline() local
551 SetPixel( nY, nX, pFncGetPixel( aSrcScanline, nX, aDummyMask ) ); in CopyScanline()