]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/porrectus.hh
release: 1.5.10
[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 *, SCM);
21   static SCM get_left_head (Grob *);
22   static void set_right_head (Grob *, SCM);
23   static SCM get_right_head (Grob *);
24   DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
25
26 private:
27   static Molecule brew_vaticana_molecule (Item *, bool, bool, Direction, Real);
28   static Molecule brew_mensural_molecule (Item *, bool, bool, Direction, Real);
29   static Molecule brew_horizontal_slope (Real, Real, Real);
30   static Molecule create_ledger_line (Interval, Grob *);
31   static Molecule create_streepjes (Grob *, int, int, Interval);
32 };
33
34 #endif // PORRECTUS_HH