]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/slur.cc
remove @FRAMEWORKDIR@
[lilypond.git] / lily / slur.cc
index 7c015019ffd3fb1d1dd2ca842023896c61a42728..2a5518c2c6edb480fe106fb4cd8ac064c536f01a 100644 (file)
@@ -84,8 +84,11 @@ Slur::print (SCM smob)
     }
 
   Real staff_thick = Staff_symbol_referencer::line_thickness (me);
-  Real base_thick = robust_scm2double (me->get_property ("thickness"), 1);
-  Real thick = base_thick * staff_thick;
+  Real base_thick = staff_thick
+    * robust_scm2double (me->get_property ("thickness"), 1);
+  Real line_thick = staff_thick
+    * robust_scm2double (me->get_property ("line-thickness"), 1);
+
   Bezier one = get_curve (me);
   Stencil a;
 
@@ -95,12 +98,12 @@ Slur::print (SCM smob)
   SCM p = me->get_property ("dash-period");
   SCM f = me->get_property ("dash-fraction");
   if (scm_is_number (p) && scm_is_number (f))
-    a = Lookup::dashed_slur (one, thick, robust_scm2double (p, 1.0),
+    a = Lookup::dashed_slur (one, line_thick, robust_scm2double (p, 1.0),
                             robust_scm2double (f, 0));
   else
     a = Lookup::slur (one,
-                     get_grob_direction (me) * staff_thick * 1.0,
-                     thick);
+                     get_grob_direction (me) * base_thick,
+                     line_thick);
 
 #if DEBUG_SLUR_SCORING
   SCM quant_score = me->get_property ("quant-score");
@@ -109,7 +112,7 @@ Slur::print (SCM smob)
                  ->lookup_variable (ly_symbol2scm ("debug-slur-scoring")))
       && scm_is_string (quant_score))
     {
-      std::string str;
+      string str;
       SCM properties = Font_interface::text_font_alist_chain (me);
 
       Stencil tm = *unsmob_stencil (Text_interface::interpret_markup
@@ -236,14 +239,17 @@ ADD_INTERFACE (Slur, "slur-interface",
               "control-points "
               "dash-fraction "
               "dash-period "
+              "details "
               "direction "
               "eccentricity "
               "encompass-objects "
               "height-limit "
+              "line-thickness "
               "note-columns "
               "positions "
               "quant-score "
               "ratio "
-              "details "
-              "thickness ");
+              "thickness "
+
+              );