2 dimension-cache.hh -- declare Dimension_cache
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef DIMENSION_CACHE_HH
11 #define DIMENSION_CACHE_HH
13 #include "interval.hh"
15 #include "lily-proto.hh"
17 #include "dimension-cache-callback.hh"
21 Adminstration of offset dimension info.
23 struct Dimension_cache
28 The offset wrt. to the center of #parent_l_#
35 Array<Offset_callback> off_callbacks_;
38 What to call to find extent. Nil means empty.
40 Dim_cache_callback extent_callback_l_;
41 Score_element * parent_l_;
43 Dimension_cache(Dimension_cache const&);
49 #endif /* DIMENSION_CACHE_HH */