Lines Matching refs:nX
534 long nX, nY, nTmp, nTmpX, nTmpY; in ImplCreateOutput() local
544 for( nX = 0L, nTmpX = nW - 1L, nTmp = nW - 2L; nX < nNewW; nX++ ) in ImplCreateOutput()
546 fTmp = nX * fRevScaleX; in ImplCreateOutput()
551 … pMapFX[ nX ] = (long) ( ( fTmp - ( pMapIX[ nX ] = MinMax( (long) fTmp, 0, nTmp ) ) ) * 1048576. ); in ImplCreateOutput()
572 for( nX = 0L, nTmpX = nW - 1L, nTmp = nW - 2L; nX < nNewW; nX++ ) in ImplCreateOutput()
574 fTmp = nX * fRevScaleX; in ImplCreateOutput()
580 pMapIX[ nX ] = MinMax( (long) fTmp, 0, nTmp ); in ImplCreateOutput()
581 pMapFX[ nX ] = fTmp >= nTmp+1 ? 1048576 : 0; in ImplCreateOutput()
1033 long nX, nY, nTmpX, nTmpY, nTmpFX, nTmpFY; in ImplCreateScaled() local
1060 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1062 nTmpX = pMapIX[ nX ]; nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1090 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1092 nTmpX = pMapIX[ nX ]; nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1127 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1129 nOff = 3L * ( nTmpX = pMapIX[ nX ] ); in ImplCreateScaled()
1130 nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1160 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1162 nOff = 3L * ( nTmpX = pMapIX[ nX ] ); in ImplCreateScaled()
1163 nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1188 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1190 nTmpX = pMapIX[ nX ]; nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1253 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++, nXDst++ ) in ImplCreateScaled()
1255 nTmpX = pMapIX[ nX ]; nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1276 for( nX = nStartX, nXDst = 0L; nX <= nEndX; nX++ ) in ImplCreateScaled()
1278 nTmpX = pMapIX[ nX ]; nTmpFX = pMapFX[ nX ]; in ImplCreateScaled()
1334 for( nX = 0UL, nTmpX = nStartX; nX < nDstW; nTmpX++ ) in ImplCreateScaled()
1335 pMapLX[ nX++ ] = FRound( (double) pMapIX[ nTmpX ] + pMapFX[ nTmpX ] / 1048576. ); in ImplCreateScaled()
1351 for( nX = 0L; nX < nDstW; nX++ ) in ImplCreateScaled()
1353 const long nSrcX = pMapLX[ nX ]; in ImplCreateScaled()
1356 pDst[ nX >> 3 ] |= 1 << ( 7 - ( nX & 7 ) ); in ImplCreateScaled()
1358 pDst[ nX >> 3 ] &= ~( 1 << ( 7 - ( nX & 7 ) ) ); in ImplCreateScaled()
1372 for( nX = 0L; nX < nDstW; nX++ ) in ImplCreateScaled()
1374 if( pAcc->GetPaletteColor( pAcc->GetPixelIndex( pMapLY[ nY ], pMapLX[ nX ] ) ) == aB ) in ImplCreateScaled()
1375 pWAcc->SetPixel( nY, nX, aWB ); in ImplCreateScaled()
1377 pWAcc->SetPixel( nY, nX, aWW ); in ImplCreateScaled()
1385 for( nX = 0L; nX < nDstW; nX++ ) in ImplCreateScaled()
1387 if( pAcc->GetPixel( pMapLY[ nY ], pMapLX[ nX ] ) == aB ) in ImplCreateScaled()
1388 pWAcc->SetPixel( nY, nX, aWB ); in ImplCreateScaled()
1390 pWAcc->SetPixel( nY, nX, aWW ); in ImplCreateScaled()
1443 long nX, nY, nTmpX, nTmpY, nTmpFX, nTmpFY, nUnRotX, nUnRotY, nSinY, nCosY; in ImplCreateRotatedScaled() local
1448 for( nX = 0L, nTmpX = aNewBound.Left() + nStartX; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1450 pCosX[ nX ] = FRound( fCosAngle * ( fTmp = nTmpX++ << 8 ) ); in ImplCreateRotatedScaled()
1451 pSinX[ nX ] = FRound( fSinAngle * fTmp ); in ImplCreateRotatedScaled()
1477 for( nX = 0; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1479 nUnRotX = ( pCosX[ nX ] - nSinY ) >> 8; in ImplCreateRotatedScaled()
1480 nUnRotY = ( pSinX[ nX ] + nCosY ) >> 8; in ImplCreateRotatedScaled()
1503 pWAcc->SetPixel( nY, nX, aColRes ); in ImplCreateRotatedScaled()
1517 for( nX = 0; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1519 nUnRotX = ( pCosX[ nX ] - nSinY ) >> 8; in ImplCreateRotatedScaled()
1520 nUnRotY = ( pSinX[ nX ] + nCosY ) >> 8; in ImplCreateRotatedScaled()
1543 pWAcc->SetPixel( nY, nX, aColRes ); in ImplCreateRotatedScaled()
1585 for( nX = 0; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1587 nUnRotX = ( pCosX[ nX ] - nSinY ) >> 8; in ImplCreateRotatedScaled()
1588 nUnRotY = ( pSinX[ nX ] + nCosY ) >> 8; in ImplCreateRotatedScaled()
1622 for( nX = 0; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1624 nUnRotX = ( pCosX[ nX ] - nSinY ) >> 8; in ImplCreateRotatedScaled()
1625 nUnRotY = ( pSinX[ nX ] + nCosY ) >> 8; in ImplCreateRotatedScaled()
1641 pWAcc->SetPixel( nY, nX, aAlphaVal ); in ImplCreateRotatedScaled()
1644 pWAcc->SetPixel( nY, nX, aTrans ); in ImplCreateRotatedScaled()
1681 for( nX = 0UL; nX < nUnRotW; nX++ ) in ImplCreateRotatedScaled()
1682 pMapLX[ nX ] = FRound( (double) pMapIX[ nX ] + pMapFX[ nX ] / 1048576. ); in ImplCreateRotatedScaled()
1694 for( nX = 0; nX < nDstW; nX++ ) in ImplCreateRotatedScaled()
1696 nUnRotX = ( pCosX[ nX ] - nSinY ) >> 8; in ImplCreateRotatedScaled()
1697 nUnRotY = ( pSinX[ nX ] + nCosY ) >> 8; in ImplCreateRotatedScaled()
1705 pWAcc->SetPixel( nY, nX, aB ); in ImplCreateRotatedScaled()
1707 pWAcc->SetPixel( nY, nX, aW ); in ImplCreateRotatedScaled()
1710 pWAcc->SetPixel( nY, nX, aB ); in ImplCreateRotatedScaled()
1713 pWAcc->SetPixel( nY, nX, aW ); in ImplCreateRotatedScaled()
1822 for( long nX = 0; nX < nWidth; nX++ ) in ImplAdjust() local
1835 for( long nX = 0; nX < nWidth; nX++ ) in ImplAdjust() local
1837 nNewTrans = nTrans + pA->GetPixel( nY, nX ).GetIndex(); in ImplAdjust()
1839 pA->SetPixel( nY, nX, aAlphaValue ); in ImplAdjust()
2087 int nX, nY; in ImplRenderTileRecursive() local
2132 for( nX=0; nX < aTileInfo.nTilesEmptyX; nX += nMSBFactor ) in ImplRenderTileRecursive()
2211 for( nX=0; nX < aTileInfo.nTilesEmptyX && nX < nExponent*nMSBFactor; nX += nMSBFactor ) in ImplRenderTileRecursive()
2355 int nX, nY; in ImplDrawTiled() local
2372 for( nX=0; nX < nNumTilesX; ++nX ) in ImplDrawTiled()