]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bezier-bow.hh
release: 1.3.24
[lilypond.git] / lily / include / bezier-bow.hh
index 8734471e5eb702d7fa6464bd39ac16f6cd9125b0..903088deced18597bc78fe0dafa7a4ec2b3481d1 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "bezier.hh"
 #include "lily-proto.hh"
-
+#include "lily-guile.hh"
 
 /**
   Implement bow specific bezier curve. Calculate bezier curve for bow
@@ -21,9 +21,9 @@ class Bezier_bow
 {
   Bezier curve_;
   Array<Offset> encompass_;
-
+  
   void blow_fit ();
-  void calc_default (Real h);
+  void calc_default ();
   void to_canonic_form ();
   void calc_tangent_controls ();
   Real fit_factor () const;
@@ -34,11 +34,15 @@ class Bezier_bow
   Real alpha_;
   Offset origin_;
 public:
-  Real  rc_factor_,
-    height_limit_,
-    ratio_;
+  Real  rc_factor_;
+  Real height_limit_;
+  Real ratio_;
 
 
+  Real vertical_offset_needed () const;
+  
+
+  SCM ugly_scm () const;
   Bezier_bow (Array<Offset> points, Direction dir);
   void calculate ();
   Bezier get_curve () const;