]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/porrectus.hh
453471f66a40611397be7443698c792f47f972d6
[lilypond.git] / lily / include / porrectus.hh
1 /*
2   porrectus.hh
3
4   Copyright (C) 2001 Juergen Reuter
5
6   written for the GNU LilyPond music typesetter
7 */
8
9 #ifndef PORRECTUS_HH
10 #define PORRECTUS_HH
11
12 #include "lily-guile.hh"
13
14 /*
15   porrectus ligature
16 */
17 class Porrectus
18 {
19 public:
20   static void set_left_head (Grob *, Item *);
21   static Item *get_left_head (Grob *);
22   static void set_right_head (Grob *, Item *);
23   static Item *get_right_head (Grob *);
24   DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
25   static bool has_interface (Grob*);
26
27 private:
28   static Molecule brew_vaticana_molecule (Item *, Real,
29                                           bool, Real, Real,
30                                           bool, Direction);
31   static Molecule brew_mensural_molecule (Item *, Real,
32                                           bool, Real, Real,
33                                           bool, Direction);
34   static Molecule create_ledger_line (Interval, Grob *);
35   static Molecule create_streepjes (Grob *, int, int, Interval);
36 };
37
38 #endif // PORRECTUS_HH