X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdimensions.hh;h=d6b7cfd1767de31ddd24251fe4385fa8a6084aeb;hb=0d11cc81d96ba3cbe5d3c221aba3ee16e916c4c9;hp=91b6e0c4d6f1644aeea52321d780ec2f2c0b2eb7;hpb=6dfa9e3be119a27e17be77c6374ada2e173cda3e;p=lilypond.git diff --git a/lily/include/dimensions.hh b/lily/include/dimensions.hh index 91b6e0c4d6..d6b7cfd176 100644 --- a/lily/include/dimensions.hh +++ b/lily/include/dimensions.hh @@ -8,13 +8,17 @@ const Real INCH_TO_PT=72.270; const Real CM_TO_PT=INCH_TO_PT/2.54; const Real MM_TO_PT=CM_TO_PT/10; const Real PT_TO_PT =1.0; +const Real INCH_TO_BP = 72; +const Real BIGPOINT_TO_POINT = INCH_TO_PT/ INCH_TO_BP; + #define PT *PT_TO_PT #define MM *MM_TO_PT #define CM *CM_TO_PT #define INCH *INCH_TO_PT +#define BIGPOINT *BIGPOINT_TO_POINT -String dimension_str (Real r); +String print_dimen (Real); #endif // DIMENSIONS_HH