]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
release: 1.1.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--1998 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 "atom.hh"
14 #include "molecule.hh"
15 #include "fproto.hh"
16 #include "scalar.hh"
17 #include "direction.hh"
18 #include "box.hh"
19
20 /** handy interface to symbol table
21  */
22 class Lookup
23 {
24 public:
25   Lookup ();
26   Lookup (Lookup const&);
27   
28   Atom simple_bar (String s, Real w) const;
29   Molecule accidental (int, bool cautionary) const;
30   Atom afm_find (String, bool warn=true) const;
31   Atom ball (int) const;
32   Molecule bar (String, Real height) const;
33   Atom beam (Real, Real, Real) const;
34   Atom clef (String) const;
35   Atom dashed_slur (Array<Offset> controls, Real thick, Real dash) const;
36   Atom dots () const;
37   Atom extender (Real) const;
38   Atom fill (Box b) const;
39   Atom flag (int, Direction) const;
40   Atom hairpin (Real width, bool decresc, bool continued) const;
41   Atom plet (Real dy, Real dx, Direction dir) const;
42   Atom rest (int, bool outside) const;
43   Atom rule_symbol (Real height, Real width) const;
44   Atom script (String idx) const;
45   Atom stem (Real y1_pos, Real y2_pos) const;
46   Atom slur (Array<Offset> controls) const;
47   Atom streepje (int type) const;
48   Atom text (String style, String text) const;
49   Atom vbrace (Real &dy) const;
50   Atom vbracket (Real &dy) const;
51   Atom volta (Real w, bool last_b) const;
52   Atom special_time_signature (String, Array<int>) const;
53   Atom time_signature (Array<int>) const;
54
55   Paper_def * paper_l_;
56
57   String font_name_;
58   Adobe_font_metric * afm_l_;
59 };
60
61 #endif // LOOKUP_HH