# distance.cpp File Reference

Template File. More...

`#include "distance.h"`
`#include "renddesc.h"`
`#include "general.h"`
`#include <ctype.h>`

## Defines

#define | POINTS_PER_INCH (72.0)
#define | INCHES_PER_METER (39.3700787402)
#define | POINTS_PER_METER (POINTS_PER_INCH*INCHES_PER_METER)
#define | CENTIMETERS_PER_METER (100.0)
#define | MILLIMETERS_PER_METER (1000.0)
#define | METERS_PER_UNIT (rend_desc.get_physical_w()/abs(rend_desc.get_tl()[0]-rend_desc.get_br()[0]))

## Detailed Description

Template File.

$Id$

## Define Documentation

#define POINTS_PER_INCH (72.0)

#define INCHES_PER_METER (39.3700787402)

Referenced by synfig::Distance::meters(), and synfig::Distance::meters_to_system().

#define POINTS_PER_METER (POINTS_PER_INCH*INCHES_PER_METER)

Referenced by synfig::Distance::meters(), and synfig::Distance::meters_to_system().

#define CENTIMETERS_PER_METER (100.0)

Referenced by synfig::Distance::meters(), and synfig::Distance::meters_to_system().

#define MILLIMETERS_PER_METER (1000.0)

Referenced by synfig::Distance::meters(), and synfig::Distance::meters_to_system().

#define METERS_PER_UNIT (rend_desc.get_physical_w()/abs(rend_desc.get_tl()[0]-rend_desc.get_br()[0]))

Referenced by synfig::Distance::get(), synfig::Distance::meters(), and synfig::Distance::units().