]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/bezier.hh
release: 1.3.38
[lilypond.git] / lily / include / bezier.hh
index 3ac97b71706ea7baa09ac9f819f47ba254841465..1f9bd2d2523c1bde1304a8eebe302e1e360f7a85 100644 (file)
@@ -22,8 +22,6 @@
 class Bezier
 {
 public:
-  Bezier ();
-
   void assert_sanity () const;
   void flip (Axis);
   void reverse ();
@@ -38,7 +36,14 @@ public:
   Offset curve_point (Real t) const;
 
   static const int CONTROL_COUNT = 4;
-  Array<Offset> control_;
+
+  /*
+    Bezier curves always have 4 control points. Making this into an
+    Array<> gives unnecessary overhead, and makes debugging a royal
+    pain.  */
+
+  
+  Offset control_[4];
 };
 
 void flip (Array<Offset>* arr_p, Axis a);