From: fred Date: Tue, 11 Feb 1997 16:18:13 +0000 (+0000) Subject: lilypond-0.0.30 X-Git-Tag: release/1.5.59~6344 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bf2061d77211cfc2305418948ebfc0ca45b43290;p=lilypond.git lilypond-0.0.30 --- diff --git a/src/paper.cc b/src/paper.cc index 09fd19aad4..ec5fde415d 100644 --- a/src/paper.cc +++ b/src/paper.cc @@ -20,14 +20,13 @@ Paperdef::duration_to_dist(Moment d) Real Paperdef::rule_thickness()const { - return convert_dimen(0.4, "pt"); + return 0.4 PT; } Paperdef::Paperdef(Lookup *l) { lookup_p_ = l; - - linewidth = convert_dimen(15,"cm"); // in cm for now + linewidth = 15 *CM_TO_PT; // in cm for now whole_width = 8 * note_width(); geometric_ = sqrt(2); } @@ -72,7 +71,7 @@ Paperdef::note_width()const Real Paperdef::standard_height() const { - return convert_dimen(20,"pt"); + return 20 PT; } void