2 bezier.hh -- declare Bezier and Bezier_bow
4 (c) 1998 Jan Nieuwenhuizen <jan@digicash.com>
11 #include "lily-proto.hh"
26 Calculate bezier curve into Offset (x,y) array.
28 void calc (int steps);
30 void set (Array<Offset> points);
33 Return y that goes with x by interpolation.
42 Implement bow specific bezier curve
44 class Bezier_bow : public Bezier
47 Bezier_bow (Paper_def* paper_l);
50 Calculate bezier curve for bow from bow parameters.
54 Real calc_f (Real height);
56 void calc_controls ();
57 void calc_default (Real h);
58 void calc_return (Real begin_alpha, Real end_alpha);
61 void set (Array<Offset> points, int dir);
63 void transform_controls_back ();