From: fred Date: Fri, 10 Apr 1998 10:00:14 +0000 (+0000) Subject: lilypond-0.1.56 X-Git-Tag: release/1.5.59~5969 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a8d46b2c8c9fe515e8cdf6b2660788355b0a756a;p=lilypond.git lilypond-0.1.56 --- diff --git a/lily/include/bezier.hh b/lily/include/bezier.hh index 69a24d5205..5f5c59d7b4 100644 --- a/lily/include/bezier.hh +++ b/lily/include/bezier.hh @@ -10,15 +10,6 @@ #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_; }; /**