#include "stdafx.h"
#include "3UtilMath.h"		// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	mmroundoff
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOmAiNmAjFfHiCpAiBeB_xHqqkZx_hix_xZkqqHx_iNmAjFfHiCmJjFmPiKlHiClFiCmEjHeMiMpIiMiFjAjE_xHqqkZx_2_xZkqqHx_iMiFiBeB_xHqqkZx_5_xZkqqHx_iCmMjEhLjAjEiCmGiClFiCmE_xHqqkZx_
 *			_xZkqqHx_iOgMiOmMiMnMjDpMiClFiCmEiBeBiNmEiCnBiOmAiNmAjFfHiCmFjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
mmetol mmroundoff (mmetol mm)
{
	return FFUtilCoordI->hix2mm(FFUtilMathI->hixroundoff(FFUtilCoordI->mm2hix(mm)));
} // mmroundoff.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	mmroundoff
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOmAiNmAjFfHiCpAiBeB_xHqqkZx_hix_xZkqqHx_iNmAjFfHiCmJjFmPiKlHiClFiCmEjHeMiMpIiMiFjAjE_xHqqkZx_2_xZkqqHx_iMiFiBeB_xHqqkZx_5_xZkqqHx_iCmMjEhLjAjEiCmGiClFiCmE_xHqqkZx_
 *			_xZkqqHx_iOgMiOmMiMnMjDpMiClFiCmEiBeBiNmEiCnBiOmAiNmAjFfHiCmFjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
DBLPoint mmroundoff (DBLPoint& mmpt)
{
	return DBLPoint(mmroundoff(mmpt.x), mmroundoff(mmpt.y));
} // mmroundoff.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	mmroundoff
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iOmAiNmAjFfHiCpAiBeB_xHqqkZx_hix_xZkqqHx_iNmAjFfHiCmJjFmPiKlHiClFiCmEjHeMiMpIiMiFjAjE_xHqqkZx_2_xZkqqHx_iMiFiBeB_xHqqkZx_5_xZkqqHx_iCmMjEhLjAjEiCmGiClFiCmE_xHqqkZx_
 *			_xZkqqHx_iOgMiOmMiMnMjDpMiClFiCmEiBeBiNmEiCnBiOmAiNmAjFfHiCmFjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.09.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
DBLRect mmroundoff (DBLRect& mmrt)
{
	return DBLRect(	mmroundoff(mmrt.left), mmroundoff(mmrt.top),
					mmroundoff(mmrt.right), mmroundoff(mmrt.bottom));
} // mmroundoff.

