]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/porrectus.hh
release: 1.5.16
[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
26 private:
27   static Molecule brew_vaticana_molecule (Item *, Real,
28                                           bool, Real, Real,
29                                           bool, Direction);
30   static Molecule brew_mensural_molecule (Item *, Real,
31                                           bool, Real, Real,
32                                           bool, Direction);
33   static Molecule brew_bezier_sandwich (Bezier, Bezier);
34   static Molecule brew_horizontal_slope (Real, Real, Real);
35   static Molecule create_ledger_line (Interval, Grob *);
36   static Molecule create_streepjes (Grob *, int, int, Interval);
37 };
38
39 #endif // PORRECTUS_HH