repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.1.44
[lilypond.git]
/
lily
/
include
/
dimensions.hh
blob
65629f03d574b7b7f17ab622967d467f5397f7ab
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