synfig-core  1.0.3
Macros
distance.cpp File Reference

Template File. More...

#include <ETL/stringf>
#include "distance.h"
#include "renddesc.h"
#include "general.h"
#include <ctype.h>

Macros

#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$

Macro Definition Documentation

#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]))