]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/dimensions.hh
release: 1.1.0
[lilypond.git] / lily / include / dimensions.hh
1 #ifndef DIMENSIONS_HH
2 #define DIMENSIONS_HH
3
4 #include "real.hh"
5 #include "string.hh"
6
7 const Real INCH_TO_PT=72.270;
8 const Real CM_TO_PT=INCH_TO_PT/2.54;
9 const Real MM_TO_PT=CM_TO_PT/10;
10 const Real PT_TO_PT =1.0;
11
12 #define PT  *PT_TO_PT
13 #define MM  *MM_TO_PT
14 #define CM  *CM_TO_PT
15 #define INCH *INCH_TO_PT
16
17 String print_dimen (Real);
18
19 #endif // DIMENSIONS_HH
20