]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
f95a7e2a407981456551a51788163e1da8f7a95b
[lilypond.git] / lily / include / lookup.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
5   Jan Nieuwenhuizen <janneke@gnu.org>
6
7   LilyPond is free software: you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation, either version 3 of the License, or
10   (at your option) any later version.
11
12   LilyPond is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef LOOKUP_HH
22 #define LOOKUP_HH
23
24 #include "stencil.hh"
25 #include "std-vector.hh"
26
27 struct Lookup
28 {
29   static Stencil bracket (Axis a, Interval iv, Real thick, Real protrude, Real blot);
30   static Stencil circle (Real rad, Real thick, bool filled);
31   static Stencil rotated_box (Real slope, Real width, Real thick, Real blot);
32   static Stencil round_filled_polygon (vector<Offset> const &points, Real blotdiameter);
33   static Stencil frame (Box b, Real thick, Real blot);
34   static Stencil slur (Bezier controls, Real cthick, Real thick,
35                        SCM dash_definition);
36   static Stencil bezier_sandwich (Bezier top_curve, Bezier bottom_curve,
37                                   Real thickness);
38   static Stencil beam (Real slope, Real width, Real thick, Real blot);
39   static Stencil blank (Box b);
40   static Stencil filled_box (Box b);
41   static Stencil round_filled_box (Box b, Real blotdiameter);
42   static Stencil repeat_slash (Real w, Real slope, Real th);
43   static Stencil horizontal_line (Interval w, Real th);
44   static Stencil triangle (Interval iv, Real thick, Real protrude);
45   static Stencil points_to_line_stencil (Real thick, vector<Offset> const &points);
46 };
47
48 #endif // LOOKUP_HH