]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
Run `make grand-replace'.
[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--2008 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 protrude, Real blot);
20   static Stencil rotated_box (Real slope, Real width, Real thick, Real blot);
21   static Stencil round_filled_polygon (vector<Offset> const &points, Real blotdiameter);
22   static Stencil frame (Box b, Real thick, Real blot);
23   static Stencil slur (Bezier controls, Real cthick, Real thick);
24   static Stencil bezier_sandwich (Bezier top_curve, Bezier bottom_curve);
25   static Stencil beam (Real slope, Real width, Real thick, Real blot);
26   static Stencil dashed_slur (Bezier b, Real thick, Real dash_period, Real dash_fraction);
27   static Stencil blank (Box b);
28   static Stencil filled_box (Box b);
29   static Stencil round_filled_box (Box b, Real blotdiameter);
30   static Stencil repeat_slash (Real w, Real slope, Real th);
31   static Stencil horizontal_line (Interval w, Real th);
32   static Stencil triangle (Interval iv, Real thick, Real protrude);
33   static Stencil points_to_line_stencil (Real thick, vector<Offset> const &points);
34 };
35
36 #endif // LOOKUP_HH