]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
release: 1.3.24
[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--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   Jan Nieuwenhuizen <janneke@gnu.org>
8 */
9
10 #ifndef LOOKUP_HH
11 #define LOOKUP_HH
12
13 #include "lily-guile.hh"
14 #include "molecule.hh"
15 #include "flower-proto.hh"
16 #include "direction.hh"
17 #include "box.hh"
18
19 /**
20    handy interface to symbol table
21    TODO: move this into GUILE?
22  */
23 class Lookup
24 {
25 public:
26   Lookup ();
27   Lookup (Lookup const&);
28
29   Molecule simple_bar (String s, Real w, Paper_def*) const;
30   Molecule afm_find (String, bool warn=true) const;
31   Molecule bar (String, Real height, Paper_def*) const;
32   Molecule beam (Real, Real, Real) const;
33   Molecule dashed_slur (Bezier, Real thick, Real dash) const;
34   Molecule ledger_line (Interval) const;
35   Molecule fill (Box b) const;
36   Molecule filledbox (Box b) const;  
37   Molecule accordion (SCM arg, Real interline_f) const;
38   Molecule slur (Bezier controls, Real cthick, Real thick) const;
39   Molecule text (String style, String text, Paper_def*) const;
40   Molecule staff_brace (Real dy, int) const;
41   Molecule staff_bracket (Real height, Paper_def* paper_l) const;
42   Molecule volta (Real h, Real w,  Real thick,  bool vert_start, bool vert_end) const;
43   Molecule special_time_signature (String, int,int, Paper_def*) const;
44   Molecule time_signature (int n,int d, Paper_def*) const;
45
46   String font_name_;
47   Adobe_font_metric * afm_l_;
48 };
49
50 #endif // LOOKUP_HH