]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-item.cc
(LY_DEFINE): use Scheme style naming for
[lilypond.git] / lily / percent-repeat-item.cc
index 480acb826c8440447fed7391634f2fa985337727..f927b923f8b8188c1c2b7338bff87d14057d46e9 100644 (file)
 Stencil
 Percent_repeat_item_interface::brew_slash ( Grob *me)
 {
-  Real slope = robust_scm2double (me->get_grob_property ("slope"), 1);
+  Real slope = robust_scm2double (me->get_property ("slope"), 1);
   Real wid = 2.0 / slope;
 
   /*
     todo: check out if in staff-rule thickness normally.
    */
-  Real thick = robust_scm2double (me->get_grob_property ("thickness"), 1);
+  Real thick = robust_scm2double (me->get_property ("thickness"), 1);
   Stencil m = Lookup::repeat_slash (wid, slope, thick);
   m.translate_axis (-m.extent (Y_AXIS).center (), Y_AXIS);
   return m;