]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/measure-grouping-spanner.cc
*** empty log message ***
[lilypond.git] / lily / measure-grouping-spanner.cc
index 2896a3d8e8730c57ce24672887f94ab908ed2171..62c7c287ab0d3148a40310aca28feab2dcd621f9 100644 (file)
@@ -23,11 +23,11 @@ Measure_grouping::print (SCM grob)
   /*
     TODO: robustify.
    */
-  SCM which = me->get_grob_property ("style");
-  Real height = robust_scm2double (me->get_grob_property ("height"), 1);
+  SCM which = me->get_property ("style");
+  Real height = robust_scm2double (me->get_property ("height"), 1);
 
-  Real t = Staff_symbol_referencer::line_thickness (me) * robust_scm2double (me->get_grob_property ("thickness"), 1);
-  Grob *common = me->get_bound(LEFT)->common_refpoint (me->get_bound (RIGHT),
+  Real t = Staff_symbol_referencer::line_thickness (me) * robust_scm2double (me->get_property ("thickness"), 1);
+  Grob *common = me->get_bound (LEFT)->common_refpoint (me->get_bound (RIGHT),
                                                       X_AXIS);
 
   Interval rext = me->get_bound (RIGHT)->extent (common, X_AXIS);
@@ -55,11 +55,12 @@ Measure_grouping::print (SCM grob)
     }
 
   m.align_to (Y_AXIS, DOWN);
-  return m.smobbed_copy();
+  return m.smobbed_copy ();
 }
 
 ADD_INTERFACE (Measure_grouping,"measure-grouping-interface",
-              "indicate groups of beats. Valid choices for 'type are 'bracket and 'triangle.",
+              "This objectt indicates groups of beats. "
+              "Valid choices for @code{style} are @code{bracket} and @code{triangle}.",
               "thickness style height");