2 align-item.hh -- declare Align_elem
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef VERTICAL_ALIGN_ITEM_HH
11 #define VERTICAL_ALIGN_ITEM_HH
13 #include "axis-group-element.hh"
14 #include "interval.hh"
15 #include "direction.hh"
17 #include "hash-table.hh"
20 Order elements top to bottom/left to right/right to left etc..
22 TODO: implement padding.
24 document usage of this.
34 Which side to align? -1: left side, 0: centered (around
35 center_l_ if not nil, or around center of width), 1: right side
39 align-dir: deprecate! Use Side_pos_interface::self_align
43 class Align_element
: public virtual Axis_group_element
{
45 Interval threshold_interval_
;
51 int get_count (Score_element
*)const;
53 virtual void do_post_processing() ;
54 virtual void do_pre_processing ();
55 virtual void do_side_processing ();
57 #endif // VERTICAL_ALIGN_ITEM_HH