unit-constants.h revision c5ad14e3e964f997e716953743842f01274a2993
#ifndef INKSCAPE_UNIT_CONSTANTS_H
#define INKSCAPE_UNIT_CONSTANTS_H
// 72 points per inch divided by the SVG-recommended value of 90 pixels per inch for computer screen
// For now it is constant throughout Inkscape, later we may make it changeable.
// Ideally this should be the only place to change it, but this is not guaranteed (be careful!)
#define DEVICESCALE 0.8
#define PT_PER_IN 72.0
#define PT_PER_PX DEVICESCALE
#define PT_PER_PC 12.0
#define M_PER_IN 0.0254
#define CM_PER_IN 2.54
#define MM_PER_IN 25.4
#define MM_PER_MM 1.0
#define MM_PER_CM 10.0
#define MM_PER_M 1000.0
#define IN_PER_FT 12.0
#define PT_PER_PT 1.0
#define PC_PER_PC 1.0
#define IN_PER_IN 1.0
#define PX_PER_PX 1.0
#define FT_PER_FT 1.0
#endif /* !INKSCAPE_UNIT_CONSTANTS_H */