2 side-position-interface.hh -- declare Side_position_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SIDE_POSITION_INTERFACE_HH
11 #define SIDE_POSITION_INTERFACE_HH
16 #include "directional-element.hh"
18 struct Side_position_interface
20 Score_element
* elt_l_
;
22 Side_position_interface (Score_element
const*);
23 static Real
side_position (Dimension_cache
const *);
24 static Real
self_alignment (Dimension_cache
const *);
25 static Real
aligned_side (Dimension_cache
const *);
26 static Real
quantised_position (Dimension_cache
const*);
28 void set_quantised (Axis
);
29 Axis
get_axis () const;
31 bool supported_b () const;
32 bool has_interface_b () const;
33 void add_support (Score_element
*);
35 Direction
get_direction () const;
36 void set_direction (Direction
);
40 #endif /* SIDE_POSITION_INTERFACE_HH */