2 directional-spanner.hh -- part of GNU LilyPond
4 (c) 1996--1999 Han-Wen Nienhuys
7 #ifndef DIRECTIONALSPANNER_HH
8 #define DIRECTIONALSPANNER_HH
12 /** a spanner which can be pointing "up" or "down".
16 class Directional_spanner : public Spanner{
19 /// -1 below heads, +1 above heads.
21 Directional_spanner();
23 /// offset of "center" relative to left-column/0-pos of staff
24 virtual Offset center() const;
25 virtual Direction get_default_dir() const;
27 virtual void do_pre_processing();
30 #endif // DIRECTIONALSPANNER_HH