blob: acbebe0d92fb2eb15ea1365a5eec530fef7e25b7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*
stem.hh -- part of LilyPond
(c) 1996 Han-Wen Nienhuys
*/
#ifndef STEM_HH
#define STEM_HH
#include "item.hh"
/// the rule attached to the ball
struct Stem : public Item {
// heads the stem encompasses (positions)
int minnote, maxnote;
int staff_center;
// extent of the stem (positions)
int bot, top;
// flagtype? 4 none, 8 8th flag, 0 = beam.
int flag;
/****************/
void postprocess();
Stem(int center);
void print() const;
Interval width() const;
private:
void calculate();
void brew_molecole();
};
/**
takes care of:
\begin{itemize}
\item the rule
\item the flag
\item up/down position.
\end{itemize}
*/
#endif
|