]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bezier.hh
release: 0.1.58
[lilypond.git] / lily / include / bezier.hh
index f5c871ed059b006f741b3763878d6a69024a8574..d69fc9819636bf8eb7e5582932e0d8ad29e0053b 100644 (file)
 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);
 
@@ -50,8 +50,9 @@ public:
    Calculate bezier curve for bow from bow parameters.
    */
   void blow_fit ();
-  Real calc_f (Real height);
   void calc ();
+  Real calc_f (Real height);
+  void calc_bezier ();
   void calc_controls ();
   void calc_default (Real h);
   void calc_return (Real begin_alpha, Real end_alpha);