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 struct Side_position_interface
18 Score_element * elt_l_;
20 Side_position_interface (Score_element const*);
21 static Real side_position (Dimension_cache const *);
22 static Real self_alignment (Dimension_cache const *);
23 static Real aligned_side (Dimension_cache const *);
24 static Real quantised_position (Dimension_cache const*);
26 void set_quantised (Axis);
27 Axis get_axis () const;
29 bool supported_b () const;
30 bool has_interface_b () const;
31 void add_support (Score_element*);
33 Direction get_direction () const;
34 void set_direction (Direction);
38 #endif /* SIDE_POSITION_INTERFACE_HH */