]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
release: 1.3.6
[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--1999 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 "fproto.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 (Array<Offset> controls, 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 hairpin (Real width, Real height, Real thick, bool decresc, bool continued) const;
38   Molecule tuplet_bracket (Real dy, Real dx, Real gap, Real thick,Real height, Direction dir) const;
39   Molecule accordion (SCM arg, Real interline_f) const;
40   Molecule slur (Array<Offset> controls, Real thick) const;
41   Molecule text (String style, String text, Paper_def*) const;
42   Molecule staff_brace (Real dy, int) const;
43   Molecule staff_bracket (Real height, Paper_def* paper_l) const;
44   Molecule volta (Real h, Real w,  Real thick,  bool vert_start, bool vert_end) const;
45   Molecule special_time_signature (String, int,int, Paper_def*) const;
46   Molecule time_signature (int n,int d, Paper_def*) const;
47
48   String font_name_;
49   Adobe_font_metric * afm_l_;
50 };
51
52 #endif // LOOKUP_HH