]> git.donarmstrong.com Git - lilypond.git/blob - lily/directional-spanner.cc
patch::: 1.3.9.hwn2
[lilypond.git] / lily / directional-spanner.cc
1 #include "directional-spanner.hh"
2 #include "offset.hh"
3
4 Direction
5 Directional_spanner::get_default_dir() const
6 {
7   return DOWN;
8 }
9
10 void
11 Directional_spanner::do_pre_processing()
12 {
13   if (!get_direction ())
14     set_direction (get_default_dir());
15 }
16
17 #if 0
18 Offset
19 Directional_spanner::center () const
20 {
21   Real w= extent (X_AXIS).length ();
22   Offset o (w/2, 0);  
23   return o;
24 }
25 #endif