2 staff-side.hh -- declare Staff_side_{element,spanner,item}
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
16 #include "staff-symbol-referencer.hh"
17 #include "directional-element.hh"
19 struct Side_position_interface
21 Score_element
* elt_l_
;
23 Side_position_interface (Score_element
*);
24 static Real
side_position (Dimension_cache
const *);
25 static Real
self_alignment (Dimension_cache
const *);
26 static Real
aligned_side (Dimension_cache
const *);
27 static Real
quantised_position (Dimension_cache
const*);
29 void set_quantised (Axis
);
30 Axis
get_axis () const;
32 bool supported_b () const;
33 bool is_staff_side_b () const;
34 void add_support (Score_element
*);
36 Direction
get_direction () const;
37 void set_direction (Direction
);
42 #endif /* STAFF_SIDE_HH */