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