Lines Matching refs:nMapDenom
378 static long ImplLogicToPixel( long n, long nDPI, long nMapNum, long nMapDenom, in ImplLogicToPixel() argument
388 if( nMapDenom != 1 ) in ImplLogicToPixel()
390 n = (2 * n) / nMapDenom; in ImplLogicToPixel()
401 if( nMapDenom == 1 ) in ImplLogicToPixel()
405 n = (long)(2 * n64 / nMapDenom); in ImplLogicToPixel()
415 n += n >= 0 ? nMapDenom/2 : -((nMapDenom-1)/2); in ImplLogicToPixel()
416 return (n / nMapDenom); in ImplLogicToPixel()
426 BigInt aMapScDenom2( (nMapDenom-1)/2 ); in ImplLogicToPixel()
431 BigInt aMapScDenom2( nMapDenom/2 ); in ImplLogicToPixel()
435 aTemp /= BigInt( nMapDenom ); in ImplLogicToPixel()
443 static long ImplPixelToLogic( long n, long nDPI, long nMapNum, long nMapDenom, in ImplPixelToLogic() argument
451 n = (2 * n * nMapDenom) / (nDPI * nMapNum); in ImplPixelToLogic()
456 n64 *= nMapDenom; in ImplPixelToLogic()
466 long nNum = n * nMapDenom; in ImplPixelToLogic()
479 aNum *= BigInt( nMapDenom ); in ImplPixelToLogic()