]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bezier-bow.hh
release: 1.5.29
[lilypond.git] / lily / include / bezier-bow.hh
index 2997fa52e356f32708f7c022bc8bbebbb4785667..c28c6b83c1cba2a69bc8d1456f10b5784873bbb0 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #include "lily-proto.hh"
 #include "lily-guile.hh"
 
-/**
-  Implement bow specific bezier curve. Calculate bezier curve for bow
-  from bow paratime_signatures.  */
-class Bezier_bow
-{
-  Bezier curve_;
-  Array<Offset> encompass_;
-  
-  void blow_fit ();
-  void calc_default ();
-  void to_canonic_form ();
-  void calc_tangent_controls ();
-  Real calc_enclosed_area_f () const;
-  void minimise_enclosed_area ();
-
-  Real fit_factor () const;
-
 
-  Paper_def* paper_l_;
-  Direction dir_;
-  Real alpha_;
-  Offset origin_;
-public:
-  Real  rc_factor_;
-  Real height_limit_;
-  Real ratio_;
 
-
-  Real vertical_offset_needed () const;
-  
-  Bezier_bow (Array<Offset> points, Direction dir);
-  void calculate ();
-  Bezier get_curve () const;
-};
+Bezier slur_shape (Real width, Real height_limit,
+                  Real height_proportion);
+Real slur_height (Real width, Real height_limit, Real height_proportion); 
 
 
 #endif /* BEZIER_BOW_HH */