]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
Merge with master
[lilypond.git] / lily / include / lookup.hh
1 /*
2   lookup.hh -- declare Lookup
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7   Jan Nieuwenhuizen <janneke@gnu.org>
8 */
9
10 #ifndef LOOKUP_HH
11 #define LOOKUP_HH
12
13 #include "stencil.hh"
14 #include "std-vector.hh"
15
16 struct Lookup
17 {
18   static Stencil dot (Offset p, Real radius);
19   static Stencil bracket (Axis a, Interval iv, Real thick, Real protude, Real blot);
20   static Stencil accordion (SCM arg, Real interline_f, Font_metric *fm);
21   static Stencil rotated_box (Real slope, Real width, Real thick, Real blot);
22   static Stencil round_filled_polygon (vector<Offset> const &points, Real blotdiameter);
23   static Stencil frame (Box b, Real thick, Real blot);
24   static Stencil slur (Bezier controls, Real cthick, Real thick);
25   static Stencil bezier_sandwich (Bezier top_curve, Bezier bottom_curve);
26   static Stencil beam (Real slope, Real width, Real thick, Real blot);
27   static Stencil dashed_slur (Bezier, Real thick, Real dash_period, Real dash_fraction);
28   static Stencil blank (Box b);
29   static Stencil filled_box (Box b);
30   static Stencil round_filled_box (Box b, Real blotdiameter);
31   static Stencil repeat_slash (Real w, Real slope, Real th);
32   static Stencil horizontal_line (Interval w, Real th);
33   static Stencil triangle (Interval, Real, Real);
34   static Stencil points_to_line_stencil (Real thick, vector<Offset> const &points);
35 };
36
37 #endif // LOOKUP_HH