]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
release: 1.1.52
[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 /** handy interface to symbol table
20     TODO: move this into GUILE?
21  */
22 class Lookup
23 {
24 public:
25   Lookup ();
26   Lookup (Lookup const&);
27
28   Molecule simple_bar (String s, Real w, Paper_def*) const;
29   Molecule accidental (int, bool cautionary) const;
30   Molecule afm_find (String, bool warn=true) const;
31   Molecule notehead  (int, String) const;
32   Molecule bar (String, Real height, Paper_def*) const;
33   Molecule beam (Real, Real, Real) const;
34   Molecule clef (String) const;
35   Molecule dashed_slur (Array<Offset> controls, Real thick, Real dash) const;
36   Molecule dots () const;
37   Molecule ledger_line (Interval) const;
38   Molecule fill (Box b) const;
39   Molecule filledbox (Box b) const;  
40   Molecule hairpin (Real width, Real height, bool decresc, bool continued) const;
41   Molecule tuplet_bracket (Real dy, Real dx, Real thick,Real interline, Direction dir) const;
42   Molecule rest (int, bool outside, String) const;
43   Molecule accordion (SCM arg, Real interline_f) const;
44   Molecule slur (Array<Offset> controls) const;
45   Molecule text (String style, String text, Paper_def*) const;
46   Molecule staff_brace (Real dy) const;
47   Molecule staff_bracket (Real dy) const;
48   Molecule volta (Real w, Real h, Real il, bool last_b) const;
49   Molecule special_time_signature (String, int,int, Paper_def*) const;
50   Molecule time_signature (int n,int d, Paper_def*) const;
51
52   String font_name_;
53   Adobe_font_metric * afm_l_;
54 };
55
56 #endif // LOOKUP_HH