/*
** mg_units.h for  in 
** 
** Made by vianney rancurel
** Login   <vianney@epita.fr>
** 
** Started on  Wed Aug 25 12:04:12 1999 vianney rancurel
** Last update Thu Oct 28 20:17:15 1999 
*/
#ifndef MG_UNITS_H
#define MG_UNITS_H	1

/* L = Length */

#define UNIT_L_METER	1
#define UNIT_L_INCH	39.37
#define UNIT_L_FOOT	3.281
#define UNIT_L_YARD	1.094
#define UNIT_L_MILE	6.214E-4
#define UNIT_L_PICA	(UNIT_L_INCH/72)

#define INCH_TO_PICA(n)	((n)*72)	
#define PICA_TO_MM(n)	((n)*UNIT_L_PICA*1E-3)
#define INCH_TO_MM(n)	((n)*UNIT_L_INCH*1E-3)

#endif
