]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bow.cc
release: 1.3.8
[lilypond.git] / lily / bow.cc
index f3c4e59eeb638649971f9c386b04899fedc560c9..6033cfe926b4dd0190dbc9233c06abfe2f63af05 100644 (file)
@@ -29,11 +29,11 @@ Bow::do_brew_molecule_p () const
 
   Molecule a;
 
-  SCM d =  get_elt_property (dashed_scm_sym);
-  if (d == SCM_BOOL_F)
+  SCM d =  get_elt_property ("dashed");
+  if (d == SCM_UNDEFINED)
     a = lookup_l ()->slur (c, thick);
   else
-    a = lookup_l ()->dashed_slur (c, thick, gh_scm2int (SCM_CDR(d)));
+    a = lookup_l ()->dashed_slur (c, thick, gh_scm2int (d));
 
   return new Molecule (a); 
 }
@@ -67,7 +67,7 @@ Drul_array<Interval>
 Bow::curve_extent_drul () const
 {
   Bezier_bow b (paper_l ());
-  b.set (get_encompass_offset_arr (), dir_);
+  b.set (get_encompass_offset_arr (), get_direction ());
   b.calc ();
   return b.curve_extent_drul_;
 }
@@ -76,7 +76,7 @@ Array<Offset>
 Bow::get_controls () const
 {
   Bezier_bow b (paper_l ());
-  b.set (get_encompass_offset_arr (), dir_);
+  b.set (get_encompass_offset_arr (), get_direction ());
   b.calc ();
   Array<Offset> controls;
   controls.set_size (8);
@@ -98,3 +98,4 @@ Bow::get_encompass_offset_arr () const
   return offset_arr;
 }
 
+