]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/lookup.hh
patch::: 1.1.37.mb1: Re: LilyPond 1.1.37
[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 "molecule.hh"
14 #include "fproto.hh"
15 #include "direction.hh"
16 #include "box.hh"
17
18 /** handy interface to symbol table
19  */
20 class Lookup
21 {
22 public:
23   Lookup ();
24   Lookup (Lookup const&);
25
26   Molecule simple_bar (String s, Real w) const;
27   Molecule accidental (int, bool cautionary) const;
28   Molecule afm_find (String, bool warn=true) const;
29   Molecule notehead  (int, String) const;
30
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 rule_symbol (Real height, Real width) const;
44   Molecule script (String idx) const;
45   Molecule stem (Real y1_pos, Real y2_pos) const;
46   Molecule slur (Array<Offset> controls) const;
47   Molecule streepje (int type) const;
48   Molecule text (String style, String text) const;
49   Molecule staff_brace (Real dy) const;
50   Molecule staff_bracket (Real dy) const;
51   Molecule volta (Real w, bool last_b) const;
52   Molecule special_time_signature (String, int,int) const;
53   Molecule time_signature (int n,int d) const;
54
55   Paper_def * paper_l_;
56
57   String font_name_;
58   Adobe_font_metric * afm_l_;
59 };
60
61 #endif // LOOKUP_HH