2 bezier.hh -- declare Bezier and Bezier_bow
4 (c) 1998--1999 Jan Nieuwenhuizen <janneke@gnu.org>
11 #include "lily-proto.hh"
26 Calculate bezier curve into Offset (x,y) array.
28 void calc (int steps);
31 void set (Array<Offset> points);
34 Return y that goes with x by interpolation.
43 Implement bow specific bezier curve
45 class Bezier_bow : public Bezier
48 Bezier_bow (Paper_def* paper_l);
51 Calculate bezier curve for bow from bow paratime_signatures.
55 Real calc_f (Real height);
57 bool calc_clipping ();
58 void calc_controls ();
59 void calc_default (Real h);
60 void calc_return (Real begin_alpha, Real end_alpha);
61 void calc_tangent_controls ();
65 void set (Array<Offset> points, int dir);
67 void transform_back ();