]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.56
authorfred <fred>
Fri, 10 Apr 1998 10:00:14 +0000 (10:00 +0000)
committerfred <fred>
Fri, 10 Apr 1998 10:00:14 +0000 (10:00 +0000)
lily/include/bezier.hh

index 69a24d52054a25e22b3dcc82f9d3ab2175288738..5f5c59d7b43864ff3b18faa5386babbc1c19ff02 100644 (file)
 #include "lily-proto.hh"
 #include "real.hh"
 
-/**
- Handy (x,y) of reals for Bezier  
- */
-struct Point
-{
-  Real x;
-  Real y;
-};
-
 /**
   Simple bezier curve
  */
@@ -29,9 +20,9 @@ public:
   virtual ~Bezier ();
 
   /**
-  Calculate bezier curve into Point (x,y) array.
+  Calculate bezier curve into Offset (x,y) array.
   */
-  void calc (Point control[4]);
+  void calc (Offset control[4]);
 
   /**
   Return y that goes with x by interpolation.
@@ -39,7 +30,7 @@ public:
   Real y (Real x);
 
   int steps_i_;
-  Point* curve_;
+  Offset* curve_;
 };
 
 /**