]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bezier.hh
release: 1.0.1
[lilypond.git] / lily / include / bezier.hh
index f5c871ed059b006f741b3763878d6a69024a8574..80140377009c23682c838a9772dbb6d79991301d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   bezier.hh -- declare Bezier and Bezier_bow
 
-  (c) 1998 Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1998 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef BEZIER_HH
 class Bezier
 {
 public:
-  Bezier (int steps_i);
+  Bezier ();
 
   /**
   Calculate bezier curve into Offset (x,y) array.
   */
-  void calc ();
+  void calc (int steps);
 
   void set (Array<Offset> points);
 
@@ -47,19 +47,22 @@ public:
   Bezier_bow (Paper_def* paper_l);
 
   /**
-   Calculate bezier curve for bow from bow parameters.
+   Calculate bezier curve for bow from bow paratime_signatures.
    */
   void blow_fit ();
-  Real calc_f (Real height);
   void calc ();
+  Real calc_f (Real height);
+  void calc_bezier ();
+  bool calc_clipping ();
   void calc_controls ();
   void calc_default (Real h);
   void calc_return (Real begin_alpha, Real end_alpha);
+  void calc_tangent_controls ();
   bool check_fit_bo ();
   Real check_fit_f ();
   void set (Array<Offset> points, int dir);
   void transform ();
-  void transform_controls_back ();
+  void transform_back ();
 
   Paper_def* paper_l_;
   Curve encompass_;