2 directional-spanner.hh -- part of GNU LilyPond
4 (c) 1996--1999 Han-Wen Nienhuys
7 #ifndef DIRECTIONALSPANNER_HH
8 #define DIRECTIONALSPANNER_HH
11 #include "directional-element.hh"
13 /** a spanner which can be pointing "up" or "down".
17 class Directional_spanner : public Spanner, public Directional_element {
19 /// offset of "center" relative to left-column/0-pos of staff
20 virtual Offset center() const;
21 virtual Direction get_default_dir() const;
22 VIRTUAL_COPY_CONS(Score_element);
24 virtual void do_pre_processing();
27 #endif // DIRECTIONALSPANNER_HH