2 bezier-bow.hh -- declare Bezier_bow
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
14 #include "lily-proto.hh"
15 #include "lily-guile.hh"
18 Implement bow specific bezier curve. Calculate bezier curve for bow
19 from bow paratime_signatures. */
23 Array<Offset> encompass_;
28 void to_canonic_form ();
29 void calc_tangent_controls ();
30 Real calc_enclosed_area_f () const;
31 void minimise_enclosed_area ();
32 Array<Offset> area_gradient_offset_arr ();
34 Real fit_factor () const;
47 Real vertical_offset_needed () const;
49 Bezier_bow (Array<Offset> points, Direction dir);
51 Bezier get_curve () const;
55 #endif /* BEZIER_BOW_HH */